diff --git a/hosts/luna/modules/default.nix b/hosts/luna/modules/default.nix index 930101b..79432cc 100644 --- a/hosts/luna/modules/default.nix +++ b/hosts/luna/modules/default.nix @@ -9,5 +9,6 @@ ./networking.nix ./programs.nix ./user.nix + ./system.nix ]; } diff --git a/hosts/luna/modules/system.nix b/hosts/luna/modules/system.nix new file mode 100644 index 0000000..30dcf32 --- /dev/null +++ b/hosts/luna/modules/system.nix @@ -0,0 +1,17 @@ +{ self, ... }: + +{ + system = { + autoUpgrade = { + enable = true; + dates = "05:00"; + allowReboot = true; + flake = self.outPath; + flags = [ + "--update-input" + "nixpkgs" + "-L" + ]; + }; + }; +}