Commit e1ec954
Changed files (1)
modules
hosts
kevin
modules/hosts/kevin/filesystem.nix
@@ -2,39 +2,32 @@
flake.modules.nixos."hosts/kevin" = _: {
swapDevices = [
{
- device = "/var/lib/swapfile";
- size = 48 * 1024; # 48GiB in MiB
+ device = "/dev/disk/by-uuid/3fb5330a-ccff-4483-a8d0-3ea733356ad3";
}
];
fileSystems."/" = {
- device = "/dev/disk/by-uuid/d1fb32f2-1dc0-435d-ad0f-1de0a121dbef";
+ device = "/dev/disk/by-uuid/7a1d1946-89bf-432d-89d7-dc047decbe49";
fsType = "btrfs";
- options = ["subvol=root"];
+ options = [ "subvol=root" "compress=zstd" ];
};
fileSystems."/nix" = {
- device = "/dev/disk/by-uuid/d1fb32f2-1dc0-435d-ad0f-1de0a121dbef";
+ device = "/dev/disk/by-uuid/7a1d1946-89bf-432d-89d7-dc047decbe49";
fsType = "btrfs";
- options = ["subvol=nix"];
+ options = [ "subvol=nix" "noatime" "compress=zstd" ];
};
fileSystems."/home" = {
- device = "/dev/disk/by-uuid/d1fb32f2-1dc0-435d-ad0f-1de0a121dbef";
+ device = "/dev/disk/by-uuid/7a1d1946-89bf-432d-89d7-dc047decbe49";
fsType = "btrfs";
- options = ["subvol=home"];
+ options = [ "subvol=home" "compress=zstd" ];
};
fileSystems."/boot" = {
- device = "/dev/disk/by-uuid/D032-DF36";
+ device = "/dev/disk/by-uuid/571F-0096";
fsType = "vfat";
- options = ["fmask=0022" "dmask=0022"];
- };
-
- fileSystems."/mnt/share" = {
- device = "/dev/disk/by-uuid/4200-EC69";
- fsType = "exfat";
- options = ["uid=1000" "gid=100"];
+ options = [ "fmask=0022" "dmask=0022" ];
};
};
}