enable nfs

This commit is contained in:
NyxErinys 2026-05-22 02:26:33 -05:00
parent c1f98fb2fd
commit 40f69aee3b

View file

@ -24,12 +24,17 @@ in
8472 # k3s, flannel: required if using multi-node for inter-node networking
];
environment.systemPackages = with pkgs; [
nfs-utils
];
sops.secrets.k3s_token = {
format = "json";
key = "token";
sopsFile = "${inputs.secrets}/k3s.json";
};
services.rpcbind.enable = true;
services.k3s = {
enable = true;
token = config.sops.secrets.k3s_token.path;
@ -44,6 +49,8 @@ in
(builtins.attrNames config.services.k3s.manifests)
];
stopIfChanged = false;
after = [ "rpcbind.service" "network-online.target" ];
wants = [ "rpcbind.service" ];
};
system.activationScripts.cleanK3sManifests = {