diff --git a/modules/bootstrap-default.nix b/modules/bootstrap-default.nix index 4adff41..984ff4e 100644 --- a/modules/bootstrap-default.nix +++ b/modules/bootstrap-default.nix @@ -87,7 +87,6 @@ lab = { longhorn.persistentVolume = { - radicale.storage = "200Mi"; atuin-db.storage = "300Mi"; nextcloud.storage = "50Gi"; nextcloud-db.storage = "400Mi"; diff --git a/modules/radicale.nix b/modules/radicale.nix index 8f2bb6e..c1adcc9 100644 --- a/modules/radicale.nix +++ b/modules/radicale.nix @@ -25,6 +25,8 @@ metadata.labels.app = "radicale"; spec = { + nodeName = "jefke"; + containers.radicale = { image = utils.mkNixNGImage "radicale"; ports.web.containerPort = 5232; @@ -38,7 +40,10 @@ ]; }; - volumes.data.persistentVolumeClaim.claimName = "data"; + volumes.data.hostPath = { + path = "/mnt/longhorn/persistent/volumes/radicale"; + type = "Directory"; + }; }; }; }; @@ -60,11 +65,6 @@ host = "radicale"; service.name = "server"; }; - - longhorn.persistentVolumeClaim.data = { - volumeName = "radicale"; - storage = "200Mi"; - }; }; }; }