Moved hw to new form

This commit is contained in:
ari committed 2024-08-18 21:01:42 -04:00
1 parent 80305ec8d0
commit 723dd77cc3
5 files changed
+34 -28

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@
(import ./containers/default.nix ({
user = user;
} // containers))
] ++ (if hardware.enable then [ ./hardware.nix ] else [ ])
]
++ (if enableNetworking then
[
(import ./networking.nix {
-27
View File
@@ -1,27 +0,0 @@
{ ... }: {
# Firmware Updater
services.fwupd.enable = true;
# Enable all license firmware
hardware.enableAllFirmware = true;
# enables support for Bluetooth
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
services.blueman.enable = true;
# Enable CUPS to print documents.
services.printing.enable = true;
# Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
# Yubikey
services.yubikey-agent.enable = true;
}