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" ];
after = [ "network-online.target" ];
serviceConfig = {
Type = "oneshot";
ExecStart = [ "${pkgs.nixos-rebuild}/bin/nixos-rebuild switch" ];
Type = "simple";
User = "${xlib.device.username}";
ExecStart = [ "${pkgs.nh}/bin/nh os switch" ];
};
};