Automatic system management
This commit is contained in:
parent
cb3326ff6d
commit
565b416e17
1 changed files with 18 additions and 1 deletions
|
@ -25,7 +25,18 @@
|
|||
keyMap = "us";
|
||||
};
|
||||
|
||||
nix.trustedUsers = [ "@wheel" ];
|
||||
nix = {
|
||||
trustedUsers = [ "@wheel" ];
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "hourly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
optimise = {
|
||||
automatic = true;
|
||||
dates = [ "hourly" ];
|
||||
};
|
||||
};
|
||||
|
||||
programs.gnupg.agent.enable = true;
|
||||
programs.gnupg.package = pkgs.gnupg.override { guiSupport = true; };
|
||||
|
@ -42,6 +53,12 @@
|
|||
localuser = "charlotte";
|
||||
};
|
||||
|
||||
system.autoUpgrade = {
|
||||
allowReboot = false;
|
||||
enable = true;
|
||||
dates = "hourly";
|
||||
};
|
||||
|
||||
users = {
|
||||
mutableUsers = false;
|
||||
defaultUserShell = pkgs.zsh;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue