nixos/k3s: add to environment.systemPackages for adminstration
(cherry picked from commit 852739337bd5ab4c57fd1eab9e62e76ac2f1a7cc)
This commit is contained in:
parent
330acb7fb7
commit
d15de4c6db
|
@ -81,6 +81,8 @@ in
|
|||
# supporting it, or their bundled containerd
|
||||
systemd.enableUnifiedCgroupHierarchy = false;
|
||||
|
||||
environment.systemPackages = [ config.services.k3s.package ];
|
||||
|
||||
systemd.services.k3s = {
|
||||
description = "k3s service";
|
||||
after = [ "network.service" "firewall.service" ] ++ (optional cfg.docker "docker.service");
|
||||
|
|
Loading…
Reference in New Issue