mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
123
This commit is contained in:
@@ -89,6 +89,7 @@
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
User = "${xlib.device.username}";
|
||||
Group = "users";
|
||||
WorkingDirectory = "/etc/nixos";
|
||||
ExecStart = [ "/run/wrappers/bin/sudo ${pkgs.nixos-rebuild}/bin/nixos-rebuild switch" ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user