ark/hosts/wolumonde/default.nix

25 lines
423 B
Nix
Raw Normal View History

2022-07-30 06:54:32 +03:00
{
inputs,
2022-08-14 10:45:17 +03:00
tlib,
2022-07-30 06:54:32 +03:00
...
2023-05-08 23:09:44 +03:00
}: {
imports =
[
inputs.agenix.nixosModules.default
2024-05-28 05:49:23 +03:00
inputs.nixtopo.nixosModules.default
2023-05-08 23:09:44 +03:00
]
++ (tlib.importFolder (toString ./modules));
2022-07-30 04:39:01 +03:00
2023-10-13 23:14:32 +03:00
boot.tmp.cleanOnBoot = true;
2022-07-30 04:39:01 +03:00
zramSwap.enable = true;
2022-07-30 06:54:32 +03:00
# firewall stuffs
networking.firewall = {
enable = true;
2023-05-08 23:09:44 +03:00
allowedTCPPorts = [22 80 443 5005];
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
}