Personal-use NixOS configuration
at main 37 lines 498 B view raw
1{ flakeRoot, ... }: 2 3{ 4 nix = { 5 channel.enable = false; 6 7 optimise = { 8 automatic = true; 9 dates = [ "1w" ]; 10 11 persistent = true; 12 }; 13 14 settings = { 15 experimental-features = [ 16 "nix-command" 17 "flakes" 18 ]; 19 }; 20 }; 21 22 documentation.man.enable = false; 23 24 programs.nh = { 25 enable = true; 26 27 flake = toString flakeRoot; 28 29 clean = { 30 enable = true; 31 32 dates = "weekly"; 33 34 extraArgs = "--delete-older-than 7d"; 35 }; 36 }; 37}