added stuff

This commit is contained in:
Charlie Root 2024-04-09 23:11:33 +02:00
commit 9d0ebdfbd0
907 changed files with 70990 additions and 0 deletions

View file

@ -0,0 +1,44 @@
{
imports = [./external.nix];
config = {
fileSystems = {
"/boot" = {
device = "/dev/disk/by-uuid/E20E-9940";
fsType = "vfat";
};
"/" = {
device = "/dev/disk/by-uuid/e1f1186b-2143-4bf7-8b99-8da1434520c6";
fsType = "btrfs";
options = ["subvol=root" "compress=zstd" "noatime"];
};
"/nix" = {
device = "/dev/disk/by-uuid/e1f1186b-2143-4bf7-8b99-8da1434520c6";
fsType = "btrfs";
options = ["subvol=nix" "compress=zstd" "noatime"];
};
"/home" = {
device = "/dev/disk/by-uuid/e1f1186b-2143-4bf7-8b99-8da1434520c6";
fsType = "btrfs";
options = ["subvol=home" "compress=zstd"];
};
"/persist" = {
device = "/dev/disk/by-uuid/e1f1186b-2143-4bf7-8b99-8da1434520c6";
fsType = "btrfs";
options = ["subvol=persist" "compress=zstd" "noatime"];
};
"/var/log" = {
device = "/dev/disk/by-uuid/e1f1186b-2143-4bf7-8b99-8da1434520c6";
fsType = "btrfs";
options = ["subvol=log" "compress=zstd" "noatime"];
};
};
# Swap Devices
swapDevices = [{device = "/dev/disk/by-uuid/62fc1f62-55ae-432d-8623-74ea6511410c";}];
};
}

View file

@ -0,0 +1,42 @@
let
homeDir = "/home/notashelf";
in {
fileSystems = {
# External Devices
"/mnt/SLib1" = {
label = "SteamLib1";
device = "/dev/disk/by-uuid/4345570b-2bd6-4cb8-8ca1-eb05bcf12c05";
fsType = "btrfs";
options = ["nofail" "rw" "compress=zstd"];
};
"/mnt/SLib2" = {
label = "SteamLib2";
device = "/dev/disk/by-uuid/080006fe-b012-4363-b596-c183b012c1de";
fsType = "btrfs";
options = ["nofail" "rw" "compress=zstd"];
};
"/mnt/Storage" = {
label = "Storage";
device = "/dev/disk/by-uuid/eb25f034-e5de-4c6c-89e9-f3dea10159a5";
fsType = "btrfs";
options = ["nofail" "rw" "compress=zstd"];
};
"/mnt/Expansion" = {
label = "Expansion";
device = "/dev/disk/by-uuid/9381fba0-e9b5-4574-9007-a0911cae4a08";
fsType = "btrfs";
options = ["nofail" "rw" "compress=zstd"];
};
"${homeDir}/Media/Music" = {
label = "Music";
device = "/dev/disk/by-uuid/68a2203f-5ecd-4ddb-b66a-76eb8dcf328c";
fsType = "btrfs";
options = ["nofail" "rw" "compress=zstd"];
noCheck = true;
};
};
}