WIP: home-manager modules and install tooling (in progress, unreviewed)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J1cugeLkfFLZMpiztQ8TyN
This commit is contained in:
30 files changed
+2619
No files matched your search
@@ -0,0 +1,51 @@
|
||||
# Dark GTK and Qt look, icons and cursor. Noctalia themes the shell itself;
|
||||
# this keeps the apps consistent with it.
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.my.home.theming;
|
||||
in
|
||||
{
|
||||
options.my.home.theming.enable = lib.mkEnableOption "GTK/Qt theme, icons and cursor";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
gtk = {
|
||||
enable = true;
|
||||
colorScheme = "dark";
|
||||
|
||||
theme = {
|
||||
name = "adw-gtk3-dark";
|
||||
package = pkgs.adw-gtk3;
|
||||
};
|
||||
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
};
|
||||
|
||||
# GTK picks the cursor up from here (gtk.enable below).
|
||||
home.pointerCursor = {
|
||||
enable = true;
|
||||
package = pkgs.bibata-cursors;
|
||||
name = "Bibata-Modern-Classic";
|
||||
size = 24;
|
||||
gtk.enable = true;
|
||||
};
|
||||
|
||||
# Qt apps follow the GTK settings, with the Adwaita dark widget style.
|
||||
qt = {
|
||||
enable = true;
|
||||
platformTheme.name = "gtk3";
|
||||
style.name = "adwaita-dark";
|
||||
};
|
||||
|
||||
# libadwaita and GTK 4 apps read the preference from dconf. The system
|
||||
# needs programs.dconf.enable for this to be applied.
|
||||
dconf.settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user