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 | |
parent | 6c95e93c85640e1fe544ed1b6a0b83e27725d0f0 (diff) | |
download | Nix-f831eb7e4b04fe788883c5f630c70020895ce7fe.tar.gz Nix-f831eb7e4b04fe788883c5f630c70020895ce7fe.tar.zst Nix-f831eb7e4b04fe788883c5f630c70020895ce7fe.zip |
Export some directories to pub accounts
-rw-r--r-- | environments/immae-eu.nix | 1 | ||||
-rw-r--r-- | modules/private/system/eldiron.nix | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/environments/immae-eu.nix b/environments/immae-eu.nix index dddc1fd..bcb7df4 100644 --- a/environments/immae-eu.nix +++ b/environments/immae-eu.nix | |||
@@ -117,6 +117,7 @@ let | |||
117 | telnet bind.dnsutils httpie ngrep nmap p0f socat lsof psmisc | 117 | telnet bind.dnsutils httpie ngrep nmap p0f socat lsof psmisc |
118 | wget patchelf rename tmux (lib.meta.hiPrio nettools) | 118 | wget patchelf rename tmux (lib.meta.hiPrio nettools) |
119 | vlock mosh manpages openssl openssl.doc openssl.man | 119 | vlock mosh manpages openssl openssl.doc openssl.man |
120 | sshfs | ||
120 | 121 | ||
121 | # other tools | 122 | # other tools |
122 | pgloader s3cmd lftp jq cpulimit libxslt gandi-cli | 123 | pgloader s3cmd lftp jq cpulimit libxslt gandi-cli |
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 |