created update.nix

This commit is contained in:
Richie Cahill
2024-04-19 17:59:10 -04:00
parent bf2fe7396d
commit 825956dc9c
4 changed files with 19 additions and 29 deletions

15
modules/update.nix Normal file
View 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";
};
}