fix(general): run update-root-nix-channels after network.target
This commit is contained in:
parent
0c10446d5d
commit
7411618aa1
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
|||
systemd.services.update-root-nix-channels = {
|
||||
description = "Runs nix-channel --update on startup";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" ];
|
||||
serviceConfig.Type = "oneshot";
|
||||
script = "${pkgs.nix}/bin/nix-channel --update";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue