Renamed hardware and disk configuration files for congenital-optimist
This commit is contained in:
parent
1a4e7fd3f6
commit
253b05b45e
4 changed files with 15 additions and 16 deletions
|
@ -6,7 +6,8 @@
|
|||
...
|
||||
}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./hardware-co.nix
|
||||
./disk-ram-co.nix
|
||||
./network-congenital-optimist.nix
|
||||
|
||||
# Security modules
|
||||
|
|
27
machines/congenital-optimist/hardware-co.nix
Normal file
27
machines/congenital-optimist/hardware-co.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# AMD GPU configuration
|
||||
hardware.amdgpu.initrd.enable = true;
|
||||
|
||||
# Firmware updates and proprietary firmware
|
||||
services.fwupd.enable = true;
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
||||
# Bluetooth configuration
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = true;
|
||||
};
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
# Audio system (PipeWire)
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue