diff --git a/nixos/features/sound/aarch64-linux.nix b/nixos/features/sound/aarch64-linux.nix new file mode 100644 index 0000000..c7bdb30 --- /dev/null +++ b/nixos/features/sound/aarch64-linux.nix @@ -0,0 +1,3 @@ +{ ... }: { + # TODO: Sound! +} diff --git a/nixos/features/sound/default.nix b/nixos/features/sound/default.nix new file mode 100644 index 0000000..fc83f71 --- /dev/null +++ b/nixos/features/sound/default.nix @@ -0,0 +1,5 @@ +{ config, ... }: { + imports = [ + ./${config.nixpkgs.hostPlatform}.nix + ]; +} diff --git a/nixos/features/sound.nix b/nixos/features/sound/x86_64-linux.nix similarity index 90% rename from nixos/features/sound.nix rename to nixos/features/sound/x86_64-linux.nix index c7374d0..eff6dc2 100644 --- a/nixos/features/sound.nix +++ b/nixos/features/sound/x86_64-linux.nix @@ -1,4 +1,4 @@ -{ pkgs, config, ... }: { +{ ... }: { sound.enable = true; hardware.pulseaudio.enable = false; security.rtkit.enable = true; diff --git a/nixos/features/xfce.nix b/nixos/features/xfce.nix index 8f61f9b..70ff8dc 100644 --- a/nixos/features/xfce.nix +++ b/nixos/features/xfce.nix @@ -1,6 +1,6 @@ { pkgs, ... }: { imports = [ - #./sound.nix + ./sound ]; services.xserver = {