n/sound: refactor to genericize
This commit is contained in:
parent
9369a49112
commit
cd74db4ab7
4 changed files with 10 additions and 2 deletions
3
nixos/features/sound/aarch64-linux.nix
Normal file
3
nixos/features/sound/aarch64-linux.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{ ... }: {
|
||||
# TODO: Sound!
|
||||
}
|
5
nixos/features/sound/default.nix
Normal file
5
nixos/features/sound/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ config, ... }: {
|
||||
imports = [
|
||||
./${config.nixpkgs.hostPlatform}.nix
|
||||
];
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, config, ... }: {
|
||||
{ ... }: {
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, ... }: {
|
||||
imports = [
|
||||
#./sound.nix
|
||||
./sound
|
||||
];
|
||||
|
||||
services.xserver = {
|
||||
|
|
Loading…
Add table
Reference in a new issue