mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
123
This commit is contained in:
+2
-2
@@ -85,12 +85,12 @@
|
||||
systemd.services.nixos-auto-rebuild-sops = {
|
||||
description = "Auto rebuild NixOS at boot";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
# after = [ "network-online.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
User = "${xlib.device.username}";
|
||||
WorkingDirectory = "/run/current-system";
|
||||
ExecStart = [ "${pkgs.nh}/bin/nh nh os switch" ];
|
||||
ExecStart = [ "${pkgs.nixos-rebuild}/bin/nixos-rebuild switch" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user