diff --git a/machines/thonkpad/default.nix b/machines/thonkpad/default.nix index fc89d97..c2920d2 100644 --- a/machines/thonkpad/default.nix +++ b/machines/thonkpad/default.nix @@ -33,6 +33,16 @@ LC_TIME = "en_US.UTF-8"; }; + # system auto upgrading + system.autoUpgrade = { + enable = true; + persistent = true; + flake = "/etc/nixos#${config.networking.thonkpad}"; + flags = [ + "-L" + ]; + }; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave diff --git a/machines/thunkpad/default.nix b/machines/thunkpad/default.nix index e9ec770..9b78a38 100644 --- a/machines/thunkpad/default.nix +++ b/machines/thunkpad/default.nix @@ -33,6 +33,16 @@ LC_TIME = "en_US.UTF-8"; }; + # system auto upgrading + system.autoUpgrade = { + enable = true; + persistent = true; + flake = "/etc/nixos#${config.networking.thunkpad}"; + flags = [ + "-L" + ]; + }; + # enable the proper fingerprint drivers, ensuring the default fprintd # package is disabled. services.fprintd.enable = false;