From 7e79ca221ddcd4ceaec5f11e89756281f172f724 Mon Sep 17 00:00:00 2001 From: Sneexy Date: Sat, 20 Apr 2024 09:47:52 -0500 Subject: [PATCH] chore: enable system updating --- machines/thonkpad/default.nix | 10 ++++++++++ machines/thunkpad/default.nix | 10 ++++++++++ 2 files changed, 20 insertions(+) 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;