Added hardware configuration to Pegasus

This commit is contained in:
2024-01-28 11:57:09 -04:00
parent 687c12daba
commit 567c698e7f
3 changed files with 45 additions and 28 deletions

View File

@@ -5,6 +5,8 @@ in {
system.stateVersion = "23.11";
imports = [
./hardware-configuration.nix
# Import system configuration
../../modules/system.nix
../../modules/containers.nix
@@ -20,33 +22,8 @@ in {
networking.useDHCP = lib.mkDefault true;
# Bootloader configuration
boot = {
kernelModules = ["kvm-intel"];
extraModulePackages = [];
initrd = {
kernelModules = [];
availableKernelModules = [
"xhci_pci"
"thunderbolt"
"vmd"
"nvme"
"usb_storage"
"sd_mod"
"rtsx_pci_sdmmc"
];
};
loader = {
grub = {
enable = true;
useOSProber = true;
};
efi = {
canTouchEfiVariables = true;
};
};
};
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Setup Audio
sound.enable = true;