From 5a367139ad660808366a941de1e42a72c1606ce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 5 Apr 2024 09:40:38 +0200 Subject: Multiple improvements --- nixos/configurations/lipwig.nix | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'nixos/configurations/lipwig.nix') diff --git a/nixos/configurations/lipwig.nix b/nixos/configurations/lipwig.nix index 2e5253d..090e8f5 100644 --- a/nixos/configurations/lipwig.nix +++ b/nixos/configurations/lipwig.nix @@ -25,9 +25,16 @@ boot.loader.systemd-boot.enable = false; - fileSystems."/nas" = { - device = "172.16.128.63:/nas/2682"; - fsType = "nfs"; + fileSystems = { + "/nas" = { + device = "172.16.128.63:/nas/2682"; + fsType = "nfs"; + }; + "/nas/nextcloud-sync" = { + device = "/nas/sync"; + fsType = "fuse.bindfs"; + options = ["map=syncthing/nextcloud:@syncthing/@nextcloud"]; + }; }; networking = { @@ -45,6 +52,15 @@ systemd.network.wait-online.enable = false; systemd.services.networking-setup.wantedBy = ["network-online.target"]; + environment.systemPackages = with pkgs; [ + # fileSystems + bindfs + # Nextcloud + exiftool + ffmpeg-headless + nodejs + ]; + # Web ###################################################################### services.nginx = { enable = true; @@ -219,7 +235,6 @@ }; }; }; - environment.systemPackages = with pkgs; [exiftool ffmpeg-headless nodejs]; # Postgresql ############################################################### services.postgresql = { -- cgit v1.2.3