nixos: optimize nix-store
This commit is contained in:
parent
86e6bd6184
commit
def929e652
|
@ -12,7 +12,7 @@
|
|||
];
|
||||
|
||||
system.stateVersion = "21.05";
|
||||
system.autoUpgrade.channel = "//nixos.org/channels/nixos-unstable";
|
||||
system.autoUpgrade.channel = "https://nixos.org/channels/nixos-unstable";
|
||||
|
||||
# boot
|
||||
boot.zfs.requestEncryptionCredentials = []; # list -> default: true - always request for password
|
||||
|
|
|
@ -6,8 +6,11 @@
|
|||
|
||||
{
|
||||
system.autoUpgrade.enable = true;
|
||||
nix.optimise.automatic = true;
|
||||
nix.gc.automatic = true;
|
||||
|
||||
networking.useDHCP = false;
|
||||
networking.firewall.enable = true; # is already enabled ...
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in New Issue