commit ef00dd9f684361b2ba0c17a84aae02dab955a38d
parent ed6079403f369b138a5e7f368395e085b12880e2
Author: Leah (ctucx) <git@ctu.cx>
Date: Wed, 26 Oct 2022 22:20:18 +0200
parent ed6079403f369b138a5e7f368395e085b12880e2
Author: Leah (ctucx) <git@ctu.cx>
Date: Wed, 26 Oct 2022 22:20:18 +0200
machines/lollo: use native bind-mounts
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/machines/lollo/websites/music.home.ctu.cx.nix b/machines/lollo/websites/music.home.ctu.cx.nix @@ -9,12 +9,9 @@ let in { - environment.systemPackages = [ pkgs.bindfs ]; - fileSystems."/mnt/music_originals" = { device = "/home/leah/syncthing/Music (Originals)"; - fsType = "fuse.bindfs"; - options = [ "ro" "perms=0000:a+rX" ]; + options = [ "bind" "ro" ]; }; services.nginx = {
diff --git a/machines/lollo/websites/photos.ctu.cx.nix b/machines/lollo/websites/photos.ctu.cx.nix @@ -47,12 +47,9 @@ in { dns.zones."ctu.cx".subdomains.photos.CNAME = [ "${config.networking.fqdn}." ]; - environment.systemPackages = [ pkgs.bindfs ]; - fileSystems."/mnt/photos.ctu.cx" = { device = "/home/leah/syncthing/Pictures/photos.ctu.cx"; - fsType = "fuse.bindfs"; - options = [ "ro" "perms=0000:a+rX" ]; + options = [ "bind" "ro" ]; }; users = {