This commit is contained in:
2025-10-10 20:56:25 +03:00
parent 29bebbce06
commit 32248e5cac
+3 -2
View File
@@ -87,8 +87,9 @@
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" ]; after = [ "network-online.target" ];
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "simple";
ExecStart = [ "${pkgs.nixos-rebuild}/bin/nixos-rebuild switch" ]; User = "${xlib.device.username}";
ExecStart = [ "${pkgs.nh}/bin/nh os switch" ];
}; };
}; };