This commit is contained in:
iofq 2023-12-24 00:33:04 -06:00
parent fe3dde6667
commit d37834a164
30 changed files with 245 additions and 179 deletions

View file

@ -10,8 +10,9 @@
networking.hostName = host.hostName;
networking.firewall = {
enable = true;
allowedTCPPorts = [];
allowedTCPPorts = [11111];
allowedUDPPorts = [];
logRefusedConnections = true;
};
users.users.${host.username} = {
isNormalUser = true;
@ -25,13 +26,15 @@
time.timeZone = "America/Chicago";
# Enable flakes and unfree packages
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings = {
auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" ];
};
nix.gc = {
automatic = true;
dates = "00:00";
options = "--delete-older-than 14d";
};
nixpkgs.config.allowUnfree = true;
system.stateVersion = "22.11";
}