Move several options to a ‘defaults’ file
This commit is contained in:
parent
eb112a9654
commit
214aadd33d
4 changed files with 15 additions and 8 deletions
14
base/defaults.nix
Normal file
14
base/defaults.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ lib, ... }:
|
||||
with lib;
|
||||
{
|
||||
i18n.defaultLocale = mkDefault "en_GB.UTF-8";
|
||||
console.keyMap = mkDefault "de";
|
||||
services.openssh.enable = mkDefault true;
|
||||
services.openssh.passwordAuthentication = mkDefault false;
|
||||
|
||||
nix.gc = mkDefault {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue