This commit is contained in:
Doloro1978
2025-09-25 15:45:57 +01:00
parent 5a9746290c
commit e60fd01ba3
7 changed files with 66 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
{ inputs, config, pkgs, ... }:
{ inputs, config, pkgs, fetchFromGitHub, ... }:
{
imports = [
@@ -11,6 +11,8 @@
./modules/tmux/home.nix
./modules/theme/home.nix
./modules/spicetify/home.nix
./modules/obs/home.nix
./overlays.nix
];
# Home Manager needs a bit of information about you and the paths it should
# manage.
@@ -81,9 +83,33 @@
dunst = {
enable = true;
};
arrpc = {
enable = true;
package = pkgs.arrpc;
};
};
systemd.user.services.pw-discordaudio-virtual-device = {
Install = {
WantedBy = [ "hyprland-session.target" ];
};
Service = {
ExecStart = "${pkgs.writeShellScript "discord_audio_virt_device" ''
#!/run/current-system/sw/bin/bash
pw-loopback -m '[ FL FR]' --capture-props='media.class=Audio/Sink node.name=DiscordSink' -n DiscordSink
''}";
};
};
systemd.user.services.pw-gameaudio-virtual-device = {
Install = {
WantedBy = [ "hyprland-session.target" ];
};
Service = {
ExecStart = "${pkgs.writeShellScript "game_audio_virt_device" ''
#!/run/current-system/sw/bin/bash
pw-loopback -m '[ FL FR]' --capture-props='media.class=Audio/Sink node.name=GameAudioSink' -n GameAudioSink
''}";
};
};
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}