23 lines
335 B
Nix
23 lines
335 B
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
tlib,
|
|
...
|
|
}: {
|
|
imports = tlib.importFolder (toString ./modules);
|
|
|
|
boot.cleanTmpDir = true;
|
|
zramSwap.enable = true;
|
|
|
|
# firewall stuffs
|
|
networking.firewall = {
|
|
enable = true;
|
|
allowedTCPPorts = [22 80 443];
|
|
allowedUDPPortRanges = [];
|
|
};
|
|
|
|
system.stateVersion = "22.05";
|
|
}
|