Nix config files for my laptop and servers
at main 58 lines 741 B view raw
1{pkgs, ...}: { 2 imports = [ 3 ./networking/tailscale.nix 4 ]; 5 6 nix = { 7 settings.experimental-features = [ 8 "nix-command" 9 "flakes" 10 ]; 11 12 optimise = { 13 automatic = true; 14 dates = ["weekly"]; 15 }; 16 17 gc = { 18 automatic = true; 19 dates = "weekly"; 20 options = "--delete-older-than 30d"; 21 }; 22 }; 23 24 nixpkgs.config.allowUnfree = true; 25 26 documentation.man.cache.enable = false; 27 28 environment = { 29 systemPackages = with pkgs; [ 30 helix 31 vim 32 33 wget 34 curl 35 dig 36 openssl 37 38 git 39 40 zip 41 unzip 42 file 43 44 ripgrep 45 fzf 46 fd 47 48 htop 49 wl-clipboard 50 tmux 51 52 bc 53 54 python314 55 ]; 56 variables.EDITOR = "hx"; 57 }; 58}