summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2024-12-21 16:08:49 +0100
committerLinnnus <[email protected]>2024-12-21 16:19:09 +0100
commit13774af03212266507af7f6b722978dd5db538e5 (patch)
tree74e9f498a7e30799f4b1344aeabdb64971d68ab1 /hosts
parentdd4f71fc1a5c2927e12ed899e41c44dcfe1192e8 (diff)
hosts/ahmed: Update nixpkgs inputs when rebooting
Diffstat (limited to 'hosts')
-rw-r--r--hosts/ahmed/configuration.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/hosts/ahmed/configuration.nix b/hosts/ahmed/configuration.nix
index 81fc77a..f3a7981 100644
--- a/hosts/ahmed/configuration.nix
+++ b/hosts/ahmed/configuration.nix
@@ -100,7 +100,15 @@
enable = true;
flake = "github:linnnus/nix-monorepo";
flags = [
- "-L" # print build logs
+ # Update nixpkgs inputs to recieve security patches and such.
+ # Since the updated lockfile isn't commited, we still have to bump manually also.
+ "--update-input"
+ "nixpkgs"
+ "--update-input"
+ "nixpkgs-unstable"
+
+ # Print build logs.
+ "-L"
];
dates = "02:00";
randomizedDelaySec = "45min";