nixos/k3s: add to environment.systemPackages for adminstration

This commit is contained in:
Jörg Thalheim 2021-04-07 20:46:10 +02:00
parent 1c2986bbb8
commit 852739337b
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4

View file

@ -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");