This commit is contained in:
2025-10-10 21:05:32 +03:00
parent 1af49f58ba
commit e951f8544d
+1 -1
View File
@@ -89,7 +89,7 @@
serviceConfig = {
Type = "oneshot";
User = "${xlib.device.username}";
# WorkingDirectory = "/run/current-system";
WorkingDirectory = "/etc/nixos";
ExecStart = [ "/run/wrappers/bin/sudo ${pkgs.nixos-rebuild}/bin/nixos-rebuild switch" ];
};
};