try and fix deployment
diff-tag / dix (push) Successful in 6m40s
flake-check / flake-check (push) Successful in 4m26s
lint / lint (push) Failing after 1m49s

This commit is contained in:
flowey
2026-09-17 10:35:22 -05:00
parent c26a1fde31
commit 8551b8ad90
5 changed files with 31 additions and 13 deletions
+2 -8
View File
@@ -5,6 +5,7 @@
hostInfo,
customPkgs,
flakeRev,
deployLabel,
...
}:
let
@@ -62,14 +63,7 @@ in
time.timeZone = "UTC";
system.stateVersion = "26.05";
system.nixos.label =
let
labelFile = ./.nixos-label;
in
if builtins.pathExists labelFile then
lib.removeSuffix "\n" (builtins.readFile labelFile)
else
flakeRev;
system.nixos.label = if deployLabel != null then deployLabel else flakeRev;
nix = {
settings = {