2023-06-05 15:50:07 +00:00
|
|
|
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
|
|
|
# and may be overwritten by future invocations. Please make changes
|
|
|
|
|
# to /etc/nixos/configuration.nix instead.
|
|
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
|
|
|
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
|
|
|
|
|
2024-06-08 10:23:39 +00:00
|
|
|
|
boot.kernelParams = [ "pci=realloc" "boot.shell_on_fail" ];
|
2023-06-05 15:50:07 +00:00
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2024-07-04 11:13:22 +00:00
|
|
|
|
boot.initrd.services.lvm.enable = true;
|
|
|
|
|
boot.initrd.systemd.enable = true;
|
2024-06-08 10:23:39 +00:00
|
|
|
|
|
2024-07-04 11:13:22 +00:00
|
|
|
|
fileSystems."/experiments" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/40ef7d25-91c5-41e4-a40f-b0fb93658ffe";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
2023-06-05 15:50:07 +00:00
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
2024-07-04 11:13:22 +00:00
|
|
|
|
{ device = "/dev/disk/by-uuid/53cc33a3-1488-44c4-8f5d-a2bc67914274";
|
|
|
|
|
fsType = "xfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/nix" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/cee7b903-53f6-4967-b95d-654d34ccd460";
|
|
|
|
|
fsType = "xfs";
|
2023-06-05 15:50:07 +00:00
|
|
|
|
};
|
|
|
|
|
|
2024-07-04 11:13:22 +00:00
|
|
|
|
fileSystems."/home" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/5625935d-579b-41e4-be35-03df8437bc2c";
|
|
|
|
|
fsType = "xfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/var" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/33bf7f4e-37f5-4121-84ac-70d06964ea21";
|
|
|
|
|
fsType = "xfs";
|
|
|
|
|
};
|
2023-06-05 15:50:07 +00:00
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/AFF2-3149";
|
|
|
|
|
fsType = "vfat";
|
2024-07-04 11:13:22 +00:00
|
|
|
|
options = [ "fmask=0022" "dmask=0022" ];
|
2023-06-05 15:50:07 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices =
|
|
|
|
|
[ { device = "/dev/disk/by-uuid/93e251e1-1bfc-4bd4-8585-ea2eae7795bf"; }
|
2024-07-04 11:13:22 +00:00
|
|
|
|
];
|
2023-06-05 15:50:07 +00:00
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
}
|