refactor: modularize configuration to prepare for multi-machine

This commit is contained in:
Youwen Wu 2024-08-03 18:33:40 -07:00
parent aeea4cffb3
commit f829b8c108
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
7 changed files with 79 additions and 71 deletions

View file

@ -81,28 +81,11 @@
libsForQt5.qt5ct
];
services.dunst = {
enable = true;
catppuccin.enable = true;
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
size = "32x32";
};
};
services.easyeffects.enable = true;
services.easyeffects.package = pkgs.easyeffects;
programs.fzf = {
enable = true;
catppuccin.enable = true;
};
programs.wlogout.enable = true;
wayland.windowManager.hyprland = import ./modules/desktop/hyprland.nix;
programs.git = {
enable = true;
userName = "Youwen Wu";
@ -154,40 +137,6 @@
extraConfig = "set editing-mode vi";
};
gtk = {
enable = true;
catppuccin.enable = true;
cursorTheme = {
name = "Bibata-Modern-Ice";
size = 26;
};
iconTheme = { name = "Papirus-Dark"; };
};
qt = {
enable = true;
platformTheme.name = "qtct";
style.name = "kvantum";
};
xdg.configFile = {
"Kvantum/kvantum.kvconfig".text = ''
[General]
theme=GraphiteNordDark
'';
"Kvantum/GraphiteNord".source =
"${pkgs.graphite-kde-theme}/share/Kvantum/GraphiteNord";
};
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland;
theme = "gruvbox-dark";
};
programs.waybar = import ./modules/desktop/waybar/waybar.nix;
programs.zoxide = {
enable = true;
# enableZshIntegration = true;