Added hardware configuration to Pegasus
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user