This commit is contained in:
2025-10-10 20:49:42 +03:00
parent 7f11d122dd
commit 24dec6ff63
+11
View File
@@ -81,5 +81,16 @@
};
};
systemd.services.nixos-auto-rebuild-sops = {
description = "Auto rebuild NixOS at boot";
wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" ];
serviceConfig = {
Type = "oneshot";
ExecStart = [ "${pkgs.nixos-rebuild}/bin/nixos-rebuild switch --fast" ];
};
};
# fileSystems."/etc/ssh".neededForBoot = true;
}