Skip to content

Commit

Permalink
point k3s to nix-snapshotter (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinerg authored Jan 24, 2024
1 parent ff0e45a commit e8818ec
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/nixos/k3s.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ let
in {
services.k3s = {
enable = true;
extraFlags = toString [
"--container-runtime-endpoint unix:///run/containerd/containerd.sock"
];
configPath = pkgs.writeText "k3s_config.yaml" ''
container-runtime-endpoint: "unix:///run/containerd/containerd.sock"
image-service-endpoint: "unix:///run/nix-snapshotter/nix-snapshotter.sock"
'';
};

virtualisation.containerd = {
Expand Down

0 comments on commit e8818ec

Please sign in to comment.