Renamed hardware and disk configuration files for congenital-optimist

This commit is contained in:
Geir Okkenhaug Jerstad 2025-06-12 21:17:44 +02:00
parent 1a4e7fd3f6
commit 253b05b45e
4 changed files with 15 additions and 16 deletions

View file

@ -6,7 +6,8 @@
...
}: {
imports = [
./hardware-configuration.nix
./hardware-co.nix
./disk-ram-co.nix
./network-congenital-optimist.nix
# Security modules

View 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;
};
}