2021-02-06 15:35:38 +01:00
|
|
|
# Hardware configuration
|
2024-03-05 00:45:31 +01:00
|
|
|
{ modulesPath, ... }:
|
2021-02-06 15:35:38 +01:00
|
|
|
|
|
|
|
{
|
2021-02-07 11:44:53 +01:00
|
|
|
imports = [
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
];
|
2021-02-06 15:35:38 +01:00
|
|
|
|
2021-02-07 11:44:53 +01:00
|
|
|
fileSystems."/" = {
|
2021-02-18 22:27:31 +01:00
|
|
|
device = "/dev/disk/by-label/nixos";
|
2021-02-07 11:44:53 +01:00
|
|
|
fsType = "ext4";
|
|
|
|
};
|
2021-02-06 15:35:38 +01:00
|
|
|
|
2024-03-05 00:45:31 +01:00
|
|
|
fileSystems."/boot" = {
|
|
|
|
device = "/dev/disk/by-label/boot";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
|
2021-02-07 11:44:53 +01:00
|
|
|
swapDevices = [
|
2021-02-18 22:27:31 +01:00
|
|
|
{ device = "/dev/disk/by-label/swap"; }
|
2021-02-07 11:44:53 +01:00
|
|
|
];
|
2021-02-06 15:35:38 +01:00
|
|
|
|
2024-03-05 00:45:31 +01:00
|
|
|
my.hardware = {
|
|
|
|
firmware = {
|
|
|
|
cpuFlavor = "intel";
|
|
|
|
};
|
|
|
|
};
|
2021-02-06 15:35:38 +01:00
|
|
|
}
|