mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 22:41:52 +03:00
123
This commit is contained in:
+2
-2
@@ -89,8 +89,8 @@
|
|||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
User = "${xlib.device.username}";
|
User = "${xlib.device.username}";
|
||||||
WorkingDirectory = "/run/current-system";
|
# WorkingDirectory = "/run/current-system";
|
||||||
ExecStart = [ "${pkgs.nixos-rebuild}/bin/nixos-rebuild switch" ];
|
ExecStart = [ "/run/wrappers/bin/sudo ${pkgs.nixos-rebuild}/bin/nixos-rebuild switch" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user