run nixfmt
This commit is contained in:
108
nix/home.nix
108
nix/home.nix
@@ -1,25 +1,31 @@
|
||||
{ inputs, config, pkgs, fetchFromGitHub, ... }:
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
fetchFromGitHub,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./modules/hyprland/home.nix
|
||||
./modules/quickshell/home.nix
|
||||
./modules/chromium/home.nix
|
||||
#./modules/neovim/home.nix
|
||||
./modules/stylix/home.nix
|
||||
./modules/nixvim/home.nix
|
||||
./modules/tmux/home.nix
|
||||
./modules/theme/home.nix
|
||||
./modules/spicetify/home.nix
|
||||
./modules/obs/home.nix
|
||||
./modules/blender/home.nix
|
||||
./overlays.nix
|
||||
];
|
||||
imports = [
|
||||
./modules/hyprland/home.nix
|
||||
./modules/quickshell/home.nix
|
||||
./modules/chromium/home.nix
|
||||
#./modules/neovim/home.nix
|
||||
./modules/stylix/home.nix
|
||||
./modules/nixvim/home.nix
|
||||
./modules/tmux/home.nix
|
||||
./modules/theme/home.nix
|
||||
./modules/spicetify/home.nix
|
||||
./modules/obs/home.nix
|
||||
./modules/blender/home.nix
|
||||
./overlays.nix
|
||||
];
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
# manage.
|
||||
home.username = "doloro";
|
||||
home.homeDirectory = "/home/doloro";
|
||||
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Doloro1978";
|
||||
@@ -39,13 +45,13 @@
|
||||
# environment.
|
||||
home.packages = with pkgs; [
|
||||
hello
|
||||
vim
|
||||
telegram-desktop
|
||||
vesktop
|
||||
# spotify
|
||||
pavucontrol
|
||||
lazygit
|
||||
btop
|
||||
vim
|
||||
telegram-desktop
|
||||
vesktop
|
||||
# spotify
|
||||
pavucontrol
|
||||
lazygit
|
||||
btop
|
||||
];
|
||||
|
||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||
@@ -86,35 +92,35 @@
|
||||
dunst = {
|
||||
enable = true;
|
||||
};
|
||||
arrpc = {
|
||||
enable = true;
|
||||
package = pkgs.arrpc;
|
||||
};
|
||||
arrpc = {
|
||||
enable = true;
|
||||
package = pkgs.arrpc;
|
||||
};
|
||||
};
|
||||
# {{{{{ TODO Put in different file
|
||||
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
|
||||
''}";
|
||||
};
|
||||
};
|
||||
# }}}}}
|
||||
# {{{{{ TODO Put in different file
|
||||
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