diff --git a/nixos/modules/services/upRootNutrition.nix b/nixos/modules/services/upRootNutrition.nix index 456f2b9..bc21a1b 100755 --- a/nixos/modules/services/upRootNutrition.nix +++ b/nixos/modules/services/upRootNutrition.nix @@ -1,4 +1,5 @@ {flake, ...}: let + inherit (flake.config.machines.devices) server; inherit (flake.config.services.instances) upRootNutrition web; service = upRootNutrition; localhost = web.localhost.address0; @@ -22,4 +23,14 @@ in { }; }; }; + fileSystems."${service.paths.path0}" = { + device = service.paths.path0; + fsType = "none"; + options = ["bind"]; + depends = [server.storage0.mount]; + }; + + systemd.tmpfiles.rules = [ + "Z ${service.paths.path0} 755 ${service.name} ${service.name} -" + ]; }