clean up hardware option configured by nixos facter

This commit is contained in:
Johannes Jöns 2024-09-27 09:44:47 +02:00
parent f38e0e3c64
commit 4df75562a8
5 changed files with 0 additions and 35 deletions

View file

@ -1,15 +0,0 @@
{ config, lib, ... }:
let
cfg = config.jopejoe1.bluetooth;
in
{
options.jopejoe1.bluetooth = {
enable = lib.mkEnableOption "Enable Bluetooth";
};
config = lib.mkIf cfg.enable {
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
};
}

View file

@ -5,7 +5,6 @@
./asf
./audio
./auto-update
./bluetooth
./boot
./doc
./events

View file

@ -28,7 +28,6 @@
enable = true;
sennheiser-hd-660s = true;
};
bluetooth.enable = true;
local.enable = true;
nix.enable = true;
plasma.enable = true;

View file

@ -20,7 +20,6 @@
audio = {
enable = true;
};
bluetooth.enable = true;
local.enable = true;
nix.enable = true;
plasma.enable = true;

View file

@ -9,20 +9,6 @@
}:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"thunderbolt"
"usbhid"
"usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/6842a9de-c5fd-4648-b3b8-f76e56633825";
fsType = "ext4";
@ -45,8 +31,5 @@
options = [ "compression=zstd" ];
};
swapDevices = [ ];
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}