default.nix (792B)
1 { lib, pkgs, nixosConfig, ... }: 2 3 let 4 inherit (lib) versionOlder; 5 in 6 { 7 imports = [ 8 ./bash.nix 9 ./direnv.nix 10 ./fzf.nix 11 ./git.nix 12 ./gpg.nix 13 ./htop.nix 14 ./ssh.nix 15 ./tmux.nix 16 ./xdg.nix 17 ./zsh.nix 18 ]; 19 20 home = { 21 stateVersion = "22.05"; 22 packages = with pkgs; [ 23 enchive 24 entr 25 # exa # TODO: switch to eza in 2024 26 fd 27 htop 28 mosh 29 ncurses 30 pciutils 31 ripgrep 32 ugrep 33 scripts 34 tree 35 broot 36 lf 37 usbutils 38 ]; 39 }; 40 41 # manpages are broken on 21.05 and home-manager (for some reason..) 42 # (versionOlder nixosConfig.system.nixos.release "21.11"); 43 manual.manpages.enable = true; 44 45 xdg.configFile."nixpkgs/config.nix".text = '' 46 { 47 allowUnfree = true; 48 } 49 ''; 50 }