Enable autoupdates

This commit is contained in:
Valentin Brandl 2022-06-13 19:22:31 +02:00
parent 7791a8d703
commit 6a009617c8

View File

@ -12,6 +12,11 @@ inputs.nixpkgs.lib.nixosSystem {
(import ./entertainment.nix inputs) (import ./entertainment.nix inputs)
(import ./office.nix inputs) (import ./office.nix inputs)
({ pkgs, lib, ... }: { ({ pkgs, lib, ... }: {
system.autoUpgrade = {
enable = true;
allowReboot = false;
};
networking = { networking = {
hostName = hostname; hostName = hostname;
interfaces.eno1.useDHCP = true; interfaces.eno1.useDHCP = true;