chore: cleanup home manager

This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2023-12-12 10:16:33 -03:00
parent 0b39a7a000
commit fb2619d2d5
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -40,9 +40,7 @@
# #
# /etc/profiles/per-user/wizardlink/etc/profile.d/hm-session-vars.sh # /etc/profiles/per-user/wizardlink/etc/profile.d/hm-session-vars.sh
# if you don't want to manage your shell through Home Manager. # if you don't want to manage your shell through Home Manager.
home.sessionVariables = { home.sessionVariables = { };
WLR_NO_HARDWARE_CURSORS = "1";
};
## ##
## PACKAGES # ## PACKAGES #
@ -139,43 +137,37 @@
# Home Manager is pretty good at managing dotfiles. The primary way to manage # Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'. # plain files is through 'home.file'.
home.file = { home.file = {
".config/fish/themes/Catppuccin-Frappe.theme" = { # Cattpuccin theme for fish shell.
source = ./programs/fish/Catppuccin-Frappe.theme; ".config/fish/themes/Catppuccin-Frappe.theme".source = ./programs/fish/Catppuccin-Frappe.theme;
};
".config/gamemode.ini" = { # Configuration for gamemode, for running games with optimizations.
source = ./programs/gamemode.ini; ".config/gamemode.ini".source = ./programs/gamemode.ini;
};
".config/mako" = { # Configuration for mako, a notification daemon.
source = ./programs/mako; ".config/mako".source = ./programs/mako;
};
".config/nvim" = { # Configuration for neovim, my editor.
source = ./programs/nvim; ".config/nvim".source = ./programs/nvim;
};
## Kvantum's theme configuration.
".config/Kvantum/Catppuccin-Frappe-Lavender" = { ".config/Kvantum/Catppuccin-Frappe-Lavender" = {
source = "${pkgs.catppuccin-kvantum.override { accent = "Lavender"; variant = "Frappe"; } }/share/Kvantum/Catppuccin-Frappe-Lavender"; source = "${pkgs.catppuccin-kvantum.override { accent = "Lavender"; variant = "Frappe"; } }/share/Kvantum/Catppuccin-Frappe-Lavender";
}; };
".config/Kvantum/kvantum.kvconfig" = { ".config/Kvantum/kvantum.kvconfig".text = ''
text = ''
[General] [General]
theme=Catppuccin-Frappe-Lavender theme=Catppuccin-Frappe-Lavender
''; '';
}; ##
".config/qt5ct/colors" = { ## Themeing configuration for qt5 and qt6
source = ./theming/qt5ct; ".config/qt5ct/colors".source = ./theming/qt5ct;
};
".config/qt6ct/colors" = { ".config/qt6ct/colors".source = ./theming/qt5ct; # We use the qt5ct because it's the SAME spec
source = ./theming/qt5ct; # We use the qt5ct because it's the SAME spec ##
};
".config/pipewire/pipewire.conf.d/99-input-denoising.conf" = { # Configure pipewire for microphone noise supression.
text = '' ".config/pipewire/pipewire.conf.d/99-input-denoising.conf".text = ''
context.modules = [ context.modules = [
{ name = libpipewire-module-filter-chain { name = libpipewire-module-filter-chain
args = { args = {
@ -210,11 +202,9 @@
} }
] ]
''; '';
};
".local/share/scripts" = { # My utility scripts
source = ./scripts; ".local/share/scripts".source = ./scripts;
};
}; };