n/sound: refactor to genericize

This commit is contained in:
noe 2023-12-17 09:51:10 -05:00
parent 9369a49112
commit cd74db4ab7
4 changed files with 10 additions and 2 deletions

View file

@ -0,0 +1,3 @@
{ ... }: {
# TODO: Sound!
}

View file

@ -0,0 +1,5 @@
{ config, ... }: {
imports = [
./${config.nixpkgs.hostPlatform}.nix
];
}

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }: { { ... }: {
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;

View file

@ -1,6 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }: {
imports = [ imports = [
#./sound.nix ./sound
]; ];
services.xserver = { services.xserver = {