mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
132
This commit is contained in:
+3
-2
@@ -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" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user