ark/hosts/wolumonde/default.nix

23 lines
335 B
Nix
Raw Normal View History

2022-07-30 06:54:32 +03:00
{
inputs,
pkgs,
2022-07-30 10:13:13 +03:00
config,
lib,
2022-08-14 10:45:17 +03:00
tlib,
2022-07-30 06:54:32 +03:00
...
2022-08-11 02:57:40 +03:00
}: {
2022-08-14 10:45:17 +03:00
imports = tlib.importFolder (toString ./modules);
2022-07-30 04:39:01 +03:00
boot.cleanTmpDir = true;
zramSwap.enable = true;
2022-07-30 06:54:32 +03:00
# firewall stuffs
networking.firewall = {
enable = true;
2022-08-11 02:57:40 +03:00
allowedTCPPorts = [22 80 443];
2022-07-30 10:13:13 +03:00
allowedUDPPortRanges = [];
2022-07-30 06:54:32 +03:00
};
2022-07-30 05:14:17 +03:00
system.stateVersion = "22.05";
2022-07-30 05:03:10 +03:00
}