2020-12-14 18:44:31 +01:00
|
|
|
{ pkgs, lib, config, ... }:
|
|
|
|
|
|
|
|
let
|
2022-05-31 21:34:33 +02:00
|
|
|
inherit (builtins) pathExists;
|
2020-12-14 18:44:31 +01:00
|
|
|
in
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../platforms/linux.nix
|
|
|
|
../modules/shell.nix
|
|
|
|
../modules/development.nix
|
|
|
|
../modules/emacs.nix
|
|
|
|
../modules/vim.nix
|
2022-05-31 21:34:33 +02:00
|
|
|
../modules/development/readyset.nix
|
|
|
|
../modules/tmux.nix
|
|
|
|
] ++ (lib.optional (pathExists ../modules/private.nix) ../modules/private.nix);
|
2020-12-14 18:44:31 +01:00
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
# System utilities
|
|
|
|
bat
|
|
|
|
htop
|
|
|
|
killall
|
|
|
|
bind
|
|
|
|
zip
|
|
|
|
unzip
|
|
|
|
tree
|
2022-03-13 17:19:07 +01:00
|
|
|
nmap
|
2020-12-14 18:44:31 +01:00
|
|
|
bc
|
|
|
|
pv
|
|
|
|
|
|
|
|
# Security
|
|
|
|
gnupg
|
|
|
|
keybase
|
|
|
|
openssl
|
|
|
|
|
|
|
|
# Nix things
|
|
|
|
nixfmt
|
|
|
|
nix-prefetch-github
|
|
|
|
nix-review
|
|
|
|
cachix
|
2022-05-31 21:34:33 +02:00
|
|
|
|
|
|
|
# ReadySet stuff
|
|
|
|
nodejs
|
|
|
|
mysql80
|
|
|
|
|
|
|
|
(writeShellScriptBin "xdg-open" "echo xdg-open: \"$@\"")
|
2020-12-14 18:44:31 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
programs.password-store.enable = true;
|
|
|
|
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
home.stateVersion = "20.03";
|
|
|
|
|
|
|
|
xsession.enable = lib.mkForce false;
|
|
|
|
|
|
|
|
services.lorri.enable = true;
|
|
|
|
|
|
|
|
programs.direnv = {
|
|
|
|
enable = true;
|
|
|
|
enableBashIntegration = true;
|
|
|
|
enableZshIntegration = true;
|
|
|
|
};
|
|
|
|
}
|