From f831eb7e4b04fe788883c5f630c70020895ce7fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 8 Aug 2020 15:57:28 +0200 Subject: Export some directories to pub accounts --- modules/private/system/eldiron.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/private/system') diff --git a/modules/private/system/eldiron.nix b/modules/private/system/eldiron.nix index b3bda53..b2a728c 100644 --- a/modules/private/system/eldiron.nix +++ b/modules/private/system/eldiron.nix @@ -93,6 +93,13 @@ ]; }; + fileSystems."/var/lib/pub/immae/devtools" = { + device = "/run/current-system/sw/bin/bindfs#/var/lib/ftp/devtools.immae.eu/"; + fsType = "fuse"; + options = [ "force-user=pub" "create-for-user=wwwrun" "create-for-group=wwwrun" ]; + }; + environment.systemPackages = [ pkgs.bindfs ]; + # This value determines the NixOS release with which your system is # to be compatible, in order to avoid breaking some software such as # database servers. You should change this only after NixOS release -- cgit v1.2.3