29 lines
582 B
Nix
29 lines
582 B
Nix
{ ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware.nix
|
|
];
|
|
|
|
boot.loader = {
|
|
grub.enable = false;
|
|
systemd-boot.enable = true;
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
boot.kernelParams = [ "processor.max_cstate=2" ]
|
|
|
|
fileSystems."/" = {
|
|
device = "/dev/disk/by-uuid/c68b883a-7391-4433-ae9b-7f6db13d21c9";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-uuid/3EE8-2460";
|
|
fsType = "vfat";
|
|
options = [ "fmask=0022" "dmask=0022" ];
|
|
};
|
|
|
|
swapDevices = [
|
|
{ device = "/dev/disk/by-uuid/4fa1c768-3acb-4d75-b849-8712fa56eab3"; }
|
|
];
|
|
}
|