From 9c0c378c98389dfafb7403a7fb0307b0c2637259 Mon Sep 17 00:00:00 2001 From: xenia Date: Wed, 30 Apr 2025 21:38:57 +0200 Subject: [PATCH] /mnt/media --- nixos/machines/foxhut/machine.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/machines/foxhut/machine.nix b/nixos/machines/foxhut/machine.nix index 8a431e5d..c542f3d7 100644 --- a/nixos/machines/foxhut/machine.nix +++ b/nixos/machines/foxhut/machine.nix @@ -97,6 +97,13 @@ in { options = [ "username=eta" "password=eta" "uid=1002" "gid=1002" "x-systemd.automount" "noauto" "x-systemd.idle-timeout=60" ]; }; + fileSystems."/mnt/media" = { + device = "xenia@10.100.100.254:/media"; + fsType = "fuse.sshfs"; + options = [ "IdentityFile=/home/xenia/.ssh/id_ed25519" "allow_other" "uid=1002" "gid=1002" "x-systemd.automount" "noauto" ]; + }; + boot.supportedFilesystems."fuse.sshfs" = true; + services.printing.enable = true; services.avahi.enable = true;