commit
This commit is contained in:
32
nix/home.nix
32
nix/home.nix
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user