Skip to content

Commit

Permalink
nixos/k3s: add nftables to k3s's path
Browse files Browse the repository at this point in the history
  • Loading branch information
RMTT committed Dec 3, 2024
1 parent 1c7406a commit b592c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/cluster/k3s/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ in
"network-online.target"
];
wantedBy = [ "multi-user.target" ];
path = lib.optional config.boot.zfs.enabled config.boot.zfs.package;
path = (lib.optional config.boot.zfs.enabled config.boot.zfs.package) ++ [ pkgs.nftables ];
serviceConfig = {
# See: https://github.com/rancher/k3s/blob/dddbd16305284ae4bd14c0aade892412310d7edc/install.sh#L197
Type = if cfg.role == "agent" then "exec" else "notify";
Expand Down

0 comments on commit b592c56

Please sign in to comment.