Defaults: Use common mkDefault for everything
This commit is contained in:
parent
ce10eb017e
commit
9940f822fb
|
@ -1,14 +1,15 @@
|
|||
{ lib, ... }:
|
||||
with lib;
|
||||
{
|
||||
i18n.defaultLocale = mkDefault "en_GB.UTF-8";
|
||||
console.keyMap = mkDefault "de";
|
||||
services.openssh.enable = mkDefault true;
|
||||
services.openssh.passwordAuthentication = mkDefault false;
|
||||
config = lib.mkDefault {
|
||||
i18n.defaultLocale = "en_GB.UTF-8";
|
||||
console.keyMap = "de";
|
||||
services.openssh.enable = true;
|
||||
services.openssh.passwordAuthentication = false;
|
||||
|
||||
nix.gc = mkDefault {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue