This commit is contained in:
oqyude committed 2025-10-10 20:56:25 +03:00
1 parent 29bebbce06
commit 32248e5cac
1 file changed
+3 -2
+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" ];
};
};