feat/nix #3

Merged
Jaaj-San merged 59 commits from feat/nix into main 2024-09-20 22:35:47 +02:00
Showing only changes of commit 9fe9cc09c5 - Show all commits

View file

@ -4,7 +4,6 @@
{
config,
lib,
pkgs,
modulesPath,
...
}: {
@ -13,10 +12,22 @@
./disko-config.nix
];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "usbhid" "sdhci_pci"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
boot = {
kernelModules = ["kvm-amd"];
extraModulePackages = [];
initrd = {
availableKernelModules = ["nvme" "xhci_pci" "usbhid" "sdhci_pci"];
kernelModules = [];
};
loader = {
efi.canTouchEfiVariables = true;
grub = {
enable = true;
device = "nodev";
efiSupport = true;
};
};
};
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's