reorganize nix settings
This commit is contained in:
parent
fa33f258fc
commit
2c6cec5178
2 changed files with 16 additions and 7 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue