mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2024-12-29 18:16:52 +01:00
clean up hardware option configured by nixos facter
This commit is contained in:
parent
f38e0e3c64
commit
4df75562a8
5 changed files with 0 additions and 35 deletions
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -5,7 +5,6 @@
|
|||
./asf
|
||||
./audio
|
||||
./auto-update
|
||||
./bluetooth
|
||||
./boot
|
||||
./doc
|
||||
./events
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
enable = true;
|
||||
sennheiser-hd-660s = true;
|
||||
};
|
||||
bluetooth.enable = true;
|
||||
local.enable = true;
|
||||
nix.enable = true;
|
||||
plasma.enable = true;
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
audio = {
|
||||
enable = true;
|
||||
};
|
||||
bluetooth.enable = true;
|
||||
local.enable = true;
|
||||
nix.enable = true;
|
||||
plasma.enable = true;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue