diff --git a/applications/media.nix b/applications/media.nix index a882ee0..c731c47 100644 --- a/applications/media.nix +++ b/applications/media.nix @@ -124,20 +124,6 @@ in unstable.picard ]; - # Mount music directory - systemd.user.services.rclone-music = { - description = "Rclone mount ~/Music"; - wantedBy = [ "graphical-session.target" ]; - partOf = [ "graphical-session.target" ]; - serviceConfig = { - # So we can pick up the fusermount wrapper, this is a less than ideal way to do this - Environment = "PATH=/usr/bin:/run/wrappers/bin/"; - Type = "notify"; - ExecStart = "${pkgs.rclone}/bin/rclone mount music: /home/nathan/Music --config /home/nathan/.config/rclone/rclone.conf --cache-dir /home/nathan/.cache/rclone --no-checksum --no-modtime"; - }; - enable = true; - }; - # Start mopidy as a user service, for sanity systemd.user.services.mopidy = { description = "Mopidy music server"; diff --git a/hardware/levitation.nix b/hardware/levitation.nix index a34b543..8e5ae05 100644 --- a/hardware/levitation.nix +++ b/hardware/levitation.nix @@ -57,6 +57,11 @@ fsType = "vfat"; }; + fileSystems."/home/nathan/Music" = { + device = "10.0.0.139:/mnt/tank/root/nathan/music"; + fsType = "nfs"; + }; + swapDevices = [{ device = "/dev/disk/by-partuuid/f9d26ecd-7df5-48ad-bc19-b9ac4e91b0ee";