define settings as defaults

This commit is contained in:
Hendrik Sokolowski 2022-12-26 15:08:02 +01:00
parent 820e322313
commit 858fd257a4
Signed by: hensoko
GPG key ID: 5C36A01B80BCCC59
2 changed files with 3 additions and 3 deletions

View file

@ -33,10 +33,10 @@ in {
};
};
loader.systemd-boot.enable = true;
loader.systemd-boot.enable = lib.mkDefault true;
# Use latest LTS linux kernel by default
kernelPackages = pkgs.linuxPackages_5_15;
kernelPackages = lib.mkDefault pkgs.linuxPackages_5_15;
# Support ntfs drives
supportedFilesystems = ["ntfs"];

View file

@ -10,7 +10,7 @@
# If you don't want the host to have SSH actually opened up to the net,
# set `services.openssh.openFirewall` to false in your config.
openFirewall = lib.mkDefault true;
passwordAuthentication = false;
passwordAuthentication = lib.mkDefault false;
};
# Service that makes Out of Memory Killer more effective