feat(nixos): Modularize drivers

This commit is contained in:
punkfairie 2025-01-06 18:39:11 -08:00
parent e788715c0f
commit 04407ae45f
No known key found for this signature in database
GPG key ID: B3C5488E9A1A7CA6
2 changed files with 12 additions and 11 deletions

View file

@ -0,0 +1,12 @@
_: {
hardware.pulseaudio.enable = false;
security.rtkit.enable = true; # Used for pulseaudio.
services.pipewire = {
enable = true;
alsa.enable = true;
pulse.enable = true;
};
services.printing.enable = true;
}

View file

@ -12,9 +12,6 @@ in {
networking.hostName = "nyx";
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services = {
xserver = {
enable = true;
@ -27,14 +24,6 @@ in {
variant = "";
};
};
printing.enable = true;
pipewire = {
enable = true;
alsa.enable = true;
pulse.enable = true;
};
};
programs.firefox.enable = true;