1

System/Nixinator: Remove root/boot/swap filesystem config from hardware-configuration (to use disko instead)

This commit is contained in:
2025-07-15 15:03:34 +02:00
parent cae39c8ca8
commit 6e9968b449
2 changed files with 24 additions and 18 deletions

View File

@ -42,16 +42,17 @@
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/68bd46a0-e95c-4764-a006-44bd9975a6c2";
fsType = "ext4";
options = ["defaults" "rw" "relatime"];
};
"/boot/efi" = {
device = "/dev/disk/by-uuid/36A9-3D74";
fsType = "vfat";
};
# Done by disko
# "/" = {
# device = "/dev/disk/by-uuid/68bd46a0-e95c-4764-a006-44bd9975a6c2";
# fsType = "ext4";
# options = ["defaults" "rw" "relatime"];
# };
#
# "/boot/efi" = {
# device = "/dev/disk/by-uuid/36A9-3D74";
# fsType = "vfat";
# };
"/home/christoph/Games" = {
device = "/dev/disk/by-uuid/e57c1831-09d7-4046-9c62-086d3596f825";
@ -91,12 +92,13 @@
};
};
swapDevices = lib.mkForce [
{
device = "/var/swap";
size = 1024 * 16; # Without hibernation 4.0 GB to 0.5 x RAM
}
];
# Done by disko
# swapDevices = lib.mkForce [
# {
# device = "/var/swap";
# size = 1024 * 16; # Without hibernation 4.0 GB to 0.5 x RAM
# }
# ];
hardware = {
# Use all redistributable firmware (i.e. nonfree)