dotfiles/nix/modules/common.nix (view raw)
| 1 | { pkgs, ... }: { |
| 2 | age.identityPaths = [ "/keys.txt" ]; |
| 3 | |
| 4 | nix = { |
| 5 | gc = { |
| 6 | automatic = true; |
| 7 | dates = "weekly"; |
| 8 | options = "--delete-older-than 30d"; |
| 9 | }; |
| 10 | optimise.automatic = true; |
| 11 | settings = { |
| 12 | auto-optimise-store = true; |
| 13 | trusted-users = [ "root" "olex" "q" ]; |
| 14 | experimental-features = [ "nix-command" "flakes" ]; |
| 15 | }; |
| 16 | }; |
| 17 | |
| 18 | environment.systemPackages = with pkgs; [ |
| 19 | git |
| 20 | htop |
| 21 | neovim |
| 22 | ]; |
| 23 | } |