Added duo configuration to Bellerophon
This commit is contained in:
@@ -11,6 +11,10 @@ in {
|
||||
|
||||
imports = [
|
||||
# Import hardware configuration
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
||||
|
||||
./hardware-configuration.nix
|
||||
./duo-configuration.nix
|
||||
inputs.disko.nixosModules.disko
|
||||
./disko.nix
|
||||
|
||||
@@ -19,46 +23,15 @@ in {
|
||||
../../modules/containers.nix
|
||||
../../modules/virtualization.nix
|
||||
../../modules/harden.nix
|
||||
../../modules/kde.nix
|
||||
../../modules/gnome.nix
|
||||
];
|
||||
|
||||
hardware.nvidia.open = false;
|
||||
|
||||
# Set networking
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
networking.hostName = hostname;
|
||||
networking.networkmanager.enable = true;
|
||||
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 = {
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
configurationLimit = 5;
|
||||
};
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Setup Audio
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
@@ -84,4 +57,8 @@ in {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
|
||||
services.hardware.bolt.enable = true;
|
||||
|
||||
hardware.sensor.iio.enable = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user