folded t480 hardware config into the flake to get rid of --impure

This commit is contained in:
2026-08-06 14:00:50 +01:00
parent a013737fbf
commit 35970bfd49
3 changed files with 49 additions and 12 deletions
+19
View File
@@ -0,0 +1,19 @@
{...}: {
flake.nixosModules.t480Disks = {...}: {
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/25316a27-6846-4922-8a45-854b9e40a19f";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-uuid/562C-B760";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
};
swapDevices = [
{ device = "/dev/disk/by-uuid/54e31e3a-af6a-4fd6-8101-4c168d3e482a"; }
];
};
}