diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-08-08 15:57:28 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-08-08 15:57:28 +0200 |
commit | f831eb7e4b04fe788883c5f630c70020895ce7fe (patch) | |
tree | 72f4c0f04c3ff440b8972ac6910f3dea07af52b1 /modules | |
parent | 6c95e93c85640e1fe544ed1b6a0b83e27725d0f0 (diff) | |
download | Nix-f831eb7e4b04fe788883c5f630c70020895ce7fe.tar.gz Nix-f831eb7e4b04fe788883c5f630c70020895ce7fe.tar.zst Nix-f831eb7e4b04fe788883c5f630c70020895ce7fe.zip |
Export some directories to pub accounts
Diffstat (limited to 'modules')
-rw-r--r-- | modules/private/system/eldiron.nix | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ | |||
93 | ]; | 93 | ]; |
94 | }; | 94 | }; |
95 | 95 | ||
96 | fileSystems."/var/lib/pub/immae/devtools" = { | ||
97 | device = "/run/current-system/sw/bin/bindfs#/var/lib/ftp/devtools.immae.eu/"; | ||
98 | fsType = "fuse"; | ||
99 | options = [ "force-user=pub" "create-for-user=wwwrun" "create-for-group=wwwrun" ]; | ||
100 | }; | ||
101 | environment.systemPackages = [ pkgs.bindfs ]; | ||
102 | |||
96 | # This value determines the NixOS release with which your system is | 103 | # This value determines the NixOS release with which your system is |
97 | # to be compatible, in order to avoid breaking some software such as | 104 | # to be compatible, in order to avoid breaking some software such as |
98 | # database servers. You should change this only after NixOS release | 105 | # database servers. You should change this only after NixOS release |