This commit is contained in:
2025-10-10 21:03:54 +03:00
parent af5042e347
commit 1af49f58ba
+2 -2
View File
@@ -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" ];
}; };
}; };