update theming

- move GTK_THEME var to theming.nix
- disable plank dock but reinstate the option
This commit is contained in:
datsudo 2025-06-02 21:38:22 +08:00
parent 98a882dd4c
commit fe4f198661
2 changed files with 10 additions and 11 deletions

View File

@ -53,17 +53,7 @@
''; '';
### SESSION ENV ### SESSION ENV
home.sessionPath = [ home.sessionPath = [ "$HOME/.local/bin" ];
"$HOME/.local/bin"
];
home.sessionVariables = {
"GTK_THEME" = "Adwaita:dark";
};
### DOCK
theming.dock.enable = true;
theming.dock.autostart = true;
music = { music = {
enable = true; enable = true;

View File

@ -49,9 +49,18 @@ in
style.name = "adwaita-dark"; style.name = "adwaita-dark";
}; };
home.sessionVariables = {
"GTK_THEME" = "Adwaita:dark";
};
home.packages = lib.mkIf cfg.enable [
pkgs.plank pkgs.libwnck pkgs.bamf
];
xdg.autostart = lib.mkIf cfg.autostart { xdg.autostart = lib.mkIf cfg.autostart {
enable = true; enable = true;
entries = [ entries = [
"${pkgs.plank}/share/applications/plank.desktop"
]; ];
}; };
}; };