enable auto-deploy

This commit is contained in:
Tim Schubert 2023-01-22 14:43:51 +01:00
parent 81f0db14ac
commit c5a07ff3cb
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA

View file

@ -81,6 +81,13 @@ in
security.sudo.wheelNeedsPassword = false;
services.openssh.openFirewall = true;
system.autoUpgrade = {
enable = true;
flake = "github:dadada/nix-config.git#${config.networking.hostName}";
allowReboot = true;
randomizedDelaySec = "45min";
};
users.users =
mapAttrs
(user: keys: {