nix/denna: k3s: use external containerd
Anirudh Oppiliappan x@icyphox.sh
Sun, 16 Jun 2024 19:41:18 +0300
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
hosts/denna/configuration.nix
→
hosts/denna/configuration.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { imports =@@ -97,10 +97,10 @@ # nix-snapshotter and k3s
virtualisation.containerd = { enable = true; nixSnapshotterIntegration = true; - k3sIntegration = true; }; services.k3s = { enable = true; + extraFlags = lib.mkDefault "--container-runtime-endpoint=unix:///run/containerd/containerd.sock"; }; nix.settings.experimental-features = [ "nix-command" "flakes" ];