idk shits so fucked lol
This commit is contained in:
@@ -241,7 +241,7 @@ in
|
||||
|
||||
services = {
|
||||
grafana = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
port = 9999;
|
||||
};
|
||||
};
|
||||
@@ -281,87 +281,7 @@ in
|
||||
# ];
|
||||
# };
|
||||
fileSystems = {
|
||||
"/media/nas/main/appdata" = {
|
||||
device = "UUID=adf7b4e1-dfed-4c10-a9ab-2741c1055552";
|
||||
fsType = "bcachefs";
|
||||
options = [
|
||||
"X-mount.subdir=appdata"
|
||||
"x-systemd.device-timeout=180s"
|
||||
];
|
||||
};
|
||||
"/media/nas/main/backup" = {
|
||||
device = "UUID=adf7b4e1-dfed-4c10-a9ab-2741c1055552";
|
||||
fsType = "bcachefs";
|
||||
options = [
|
||||
"X-mount.subdir=backup"
|
||||
"x-systemd.device-timeout=180s"
|
||||
];
|
||||
};
|
||||
"/media/nas/main/databases" = {
|
||||
device = "UUID=adf7b4e1-dfed-4c10-a9ab-2741c1055552";
|
||||
fsType = "bcachefs";
|
||||
options = [
|
||||
"X-mount.subdir=databases"
|
||||
"x-systemd.device-timeout=180s"
|
||||
];
|
||||
};
|
||||
"/media/nas/main/documents" = {
|
||||
device = "UUID=adf7b4e1-dfed-4c10-a9ab-2741c1055552";
|
||||
fsType = "bcachefs";
|
||||
options = [
|
||||
"X-mount.subdir=documents"
|
||||
"x-systemd.device-timeout=180s"
|
||||
];
|
||||
};
|
||||
"/media/nas/games/heroic" = {
|
||||
device = "UUID=adf7b4e1-dfed-4c10-a9ab-2741c1055552";
|
||||
fsType = "bcachefs";
|
||||
options = [
|
||||
"X-mount.subdir=heroic"
|
||||
"x-systemd.device-timeout=180s"
|
||||
];
|
||||
};
|
||||
"/media/nas/main/movies" = {
|
||||
device = "UUID=adf7b4e1-dfed-4c10-a9ab-2741c1055552";
|
||||
fsType = "bcachefs";
|
||||
options = [
|
||||
"X-mount.subdir=movies"
|
||||
"x-systemd.device-timeout=180s"
|
||||
];
|
||||
};
|
||||
"/media/nas/main/photos" = {
|
||||
device = "UUID=adf7b4e1-dfed-4c10-a9ab-2741c1055552";
|
||||
fsType = "bcachefs";
|
||||
options = [
|
||||
"X-mount.subdir=photos"
|
||||
"x-systemd.device-timeout=180s"
|
||||
];
|
||||
};
|
||||
"/media/nas/games/steam" = {
|
||||
device = "UUID=adf7b4e1-dfed-4c10-a9ab-2741c1055552";
|
||||
fsType = "bcachefs";
|
||||
options = [
|
||||
"X-mount.subdir=steam"
|
||||
"x-systemd.device-timeout=180s"
|
||||
];
|
||||
};
|
||||
"/media/nas/main/tv" = {
|
||||
device = "UUID=adf7b4e1-dfed-4c10-a9ab-2741c1055552";
|
||||
fsType = "bcachefs";
|
||||
options = [
|
||||
"X-mount.subdir=tv"
|
||||
"x-systemd.device-timeout=180s"
|
||||
];
|
||||
};
|
||||
"/persist" = {
|
||||
device = "UUID=adf7b4e1-dfed-4c10-a9ab-2741c1055552";
|
||||
fsType = "bcachefs";
|
||||
options = [
|
||||
"X-mount.subdir=persist"
|
||||
"x-systemd.device-timeout=180s"
|
||||
];
|
||||
};
|
||||
"/subvolumes" = {
|
||||
"/media/nas/main" = {
|
||||
device = "UUID=adf7b4e1-dfed-4c10-a9ab-2741c1055552";
|
||||
fsType = "bcachefs";
|
||||
};
|
||||
@@ -380,6 +300,45 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices = {
|
||||
hdd1-cryptroot = {
|
||||
device = "/dev/disk/by-uuid/295d4c78-41f0-4792-bd97-ac88b2455cdc";
|
||||
};
|
||||
hdd2-cryptroot = {
|
||||
device = "/dev/disk/by-uuid/7c9c2179-351c-40a5-9257-e9ee2a1e794a";
|
||||
};
|
||||
ssd1-cryptroot = {
|
||||
device = "/dev/disk/by-uuid/d78fa862-212c-4d4f-ad86-bfeead5cc054";
|
||||
allowDiscards = true;
|
||||
bypassWorkqueues = true;
|
||||
};
|
||||
ssd2-cryptroot = {
|
||||
device = "/dev/disk/by-uuid/1661c173-3809-4517-9ab8-ad94c229048d";
|
||||
allowDiscards = true;
|
||||
bypassWorkqueues = true;
|
||||
};
|
||||
ssd3-cryptroot = {
|
||||
device = "/dev/disk/by-uuid/cfea125e-90b1-4248-834d-16dcaf310783";
|
||||
allowDiscards = true;
|
||||
bypassWorkqueues = true;
|
||||
};
|
||||
ssd4-cryptroot = {
|
||||
device = "/dev/disk/by-uuid/96055401-6d1a-4308-9e4e-2211e1e23635";
|
||||
allowDiscards = true;
|
||||
bypassWorkqueues = true;
|
||||
};
|
||||
ssd5-cryptroot = {
|
||||
device = "/dev/disk/by-uuid/055e27e0-c96a-4899-8ee7-cb1cd5f21476";
|
||||
allowDiscards = true;
|
||||
bypassWorkqueues = true;
|
||||
};
|
||||
ssd6-cryptroot = {
|
||||
device = "/dev/disk/by-uuid/6e830abd-2555-4558-81a3-4a990507b5a7";
|
||||
allowDiscards = true;
|
||||
bypassWorkqueues = true;
|
||||
};
|
||||
};
|
||||
|
||||
# boot.initrd.luks.devices.cryptroot.device = "/dev/disk/by-partlabel/disk-main-jallen-nas-cryptroot";
|
||||
|
||||
# Configure environment
|
||||
|
||||
Reference in New Issue
Block a user