This commit is contained in:
Floweynt
2026-09-13 14:33:29 -05:00
parent 060863f72f
commit 6089103cba
5 changed files with 177 additions and 1 deletions
+10
View File
@@ -4,12 +4,17 @@
lib,
hostInfo,
customPkgs,
flakeRev,
...
}:
let
inherit (hostInfo) paths;
in
{
imports = [ ./modules/autodeploy.nix ];
services.server-autodeploy.enable = true;
assertions =
let
isMounted =
@@ -47,6 +52,11 @@ 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;
nix = {
settings = {