add vaultwarden to k3s

This commit is contained in:
nyxerinys 2026-06-25 11:19:40 -05:00
parent ee0e2c0737
commit 3961ca707a
3 changed files with 85 additions and 9 deletions

View file

@ -53,9 +53,15 @@ let
in {
networking.firewall.allowedTCPPorts = tcpPorts;
networking.firewall.allowedUDPPorts = udpPorts;
fileSystems."/export/containers" = {
device = "/Velaris/Containers";
options = [ "bind" ];
fileSystems ={
"/export/containers" = {
device = "/Velaris/Containers";
options = [ "bind" ];
};
"/export/velaris" = {
device = "/Velaris";
options = ["bind"];
};
};
systemd.services.iscsi-target = {
@ -75,6 +81,7 @@ in {
exports = ''
/export 10.5.0.0/24(rw,fsid=0,no_subtree_check,no_root_squash)
/export/containers 10.5.0.0/24(rw,nohide,insecure,no_subtree_check,no_root_squash)
/export/velaris 10.5.0.0/24(rw,nohide,insecure,no_subtree_check,no_root_squash)
'';
};
target = {