created update.nix
This commit is contained in:
15
modules/update.nix
Normal file
15
modules/update.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ lib, ... }:
|
||||
{ services.autopull = {
|
||||
enable = lib.mkDefault true;
|
||||
ssh-key = lib.mkDefau "/root/.ssh/id_ed25519_ghdeploy";
|
||||
path = lib.mkDefau /root/dotfiles;
|
||||
};
|
||||
|
||||
system.autoUpgrade = {
|
||||
enable = lib.mkDefault true;
|
||||
flags = [ "--accept-flake-config" ];
|
||||
randomizedDelaySec = "1h";
|
||||
persistent = true;
|
||||
flake = "github:RAD-Development/nix-dotfiles";
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user