reorganize nix settings

This commit is contained in:
Elias Gasparis 2025-05-05 11:32:02 +08:00
parent fa33f258fc
commit 2c6cec5178
2 changed files with 16 additions and 7 deletions

View file

@ -15,7 +15,7 @@
./services/calibre-web.nix
./services/glances.nix
./services/fail2ban.nix
# ./services/transmission.nix
./services/transmission.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
@ -49,9 +49,17 @@
# ZFS
services.zfs.autoScrub.enable = true;
# Housekeeping: Garbage collection
nix.gc.automatic = true;
nix.optimise.automatic = true;
# Nix settings
nix = {
settings = {
#experimental-features = [ "nix-command" "flakes" ];
download-buffer-size = "2G";
warn-dirty = false;
# garbage collection
gc.automatic = true;
optimise.automatic = true;
};
};
# Networking
networking.hostName = "knossos"; # Define your hostname.