nix machine / user configurations
at terra 627 B view raw
1{ 2 inputs, 3 tlib, 4 pkgs, 5 ... 6}: 7{ 8 imports = with inputs; [ 9 ../../modules 10 ../../modules/stylix-null.nix 11 ../../locale 12 ../../users/root 13 "${home}/nixos" 14 "${agenix}/modules/age.nix" 15 "${ncr}/firewall" 16 "${ncr}/firewall/hetzner" 17 ] 18 ++ (tlib.importFolder (toString ./modules)); 19 20 environment.systemPackages = with pkgs; [ 21 magic-wormhole-rs 22 systemctl-tui 23 ]; 24 25 boot.tmp.cleanOnBoot = true; 26 zramSwap.enable = true; 27 28 # firewall stuffs 29 networking.firewall.enable = true; 30 providers.hetzner.firewall = { 31 enable = true; 32 id = 476406; 33 }; 34 35 system.stateVersion = "22.05"; 36}