mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
nixos/k3s: add to environment.systemPackages for adminstration
This commit is contained in:
parent
1c2986bbb8
commit
852739337b
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue