dotfiles/nixos/filesystem/heater.nix

56 lines
1 KiB
Nix
Raw Normal View History

{ config, pkgs, ... }:
2020-12-31 15:37:34 +01:00
let
defaultBtrfsOpts = [
"noatime"
"space_cache"
];
in {
fileSystems."/" =
2020-12-31 15:37:34 +01:00
{
device = "/dev/disk/by-uuid/7831f8ee-0ad6-49c2-8288-6f5e61ae0a08";
fsType = "btrfs";
options = [
"subvol=/nix"
2020-12-31 15:37:34 +01:00
] ++ defaultBtrfsOpts;
};
fileSystems."/btrfs" =
{
device = "/dev/disk/by-uuid/7831f8ee-0ad6-49c2-8288-6f5e61ae0a08";
fsType = "btrfs";
options = [
"subvol=/"
] ++ defaultBtrfsOpts;
};
fileSystems."/boot/EFI" =
2020-12-31 15:37:34 +01:00
{
device = "/dev/disk/by-uuid/DBE9-10B4";
fsType = "vfat";
};
2020-12-31 15:37:34 +01:00
fileSystems."/mnt/data1" =
{
device = "/dev/disk/by-uuid/0ab799ad-c5cf-4a5d-b5cc-7891115eb5e4";
fsType = "btrfs";
options = [
"subvol=/"
] ++ defaultBtrfsOpts;
};
fileSystems."/mnt/data2" =
{
device = "/dev/mapper/VG_HDD2-Data0";
fsType = "ext4";
};
fileSystems."/mnt/data3" =
{
device = "/dev/mapper/VG_0-LV_Data0";
fsType = "ext4";
};
swapDevices = [ ];
}