summaryrefslogtreecommitdiffstats
path: root/systems/jonbox/filesystem.nix
blob: 4faa6881b9fc28f8bfe00d22213ed4af1d6e581d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ config, lib, pkgs, modulesPath, ... }:

{
  fileSystems."/" =
    { device = "/dev/disk/by-uuid/83cafaff-8be3-477f-b13c-c47dafdf969d";
      fsType = "btrfs";
      options = [ "subvol=@" ];
    };

  fileSystems."/boot" =
    { device = "/dev/disk/by-uuid/40EA-5550";
      fsType = "vfat";
    };

  fileSystems."/mnt/jonshare" = {
    device = "homenas:/var/data/jon";
    fsType = "nfs";
  };

  fileSystems."/mnt/plexshare" = {
    device = "homenas:/var/data/plex";
    fsType = "nfs";
  };

  fileSystems."/mnt/share" = {
    device = "homenas:/var/data/shared";
    fsType = "nfs";
  };

  swapDevices =
    [ { device = "/dev/disk/by-uuid/acfc7ea5-0787-4e05-bcf1-20b7adb0f35c"; }
    ];
}