move audio stuff to different profile from xsession
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
{pkgs, config, lib, ...}:
|
||||
let
|
||||
audio-plugins = pkgs.symlinkJoin { name = "audio-plugins"; paths = [ pkgs.lsp-plugins pkgs.speech-denoiser ];};
|
||||
in
|
||||
{
|
||||
config = lib.mkIf config.profiles.xsession.enable {
|
||||
home.packages = [ ] ++ lib.optionals config.profiles.gui.enable [
|
||||
pkgs.pavucontrol
|
||||
pkgs.carla
|
||||
];
|
||||
|
||||
home.file."audio-plugins" = {
|
||||
source = "${audio-plugins}/lib";
|
||||
target = "audio-plugins";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -6,7 +6,7 @@ let
|
||||
mkGL = program: "${lib.strings.optionalString non-nixos.enable "nixGL "}${program}";
|
||||
in
|
||||
{
|
||||
imports = [ ./dunstrc.nix ./terminal.nix ./audio.nix ./polybar.nix ];
|
||||
imports = [ ./dunstrc.nix ./terminal.nix ./polybar.nix ];
|
||||
|
||||
options.profiles.xsession = {
|
||||
enable = lib.mkEnableOption "Whether or not to control the xsession";
|
||||
|
||||
Reference in New Issue
Block a user