diff --git a/hosts/asahi/configuration.nix b/hosts/asahi/configuration.nix index a2117ff..9e7d2af 100644 --- a/hosts/asahi/configuration.nix +++ b/hosts/asahi/configuration.nix @@ -110,6 +110,8 @@ # Terminal ghostty.packages.aarch64-linux.default kitty + # Theming + palenight-theme ]; fonts = { diff --git a/hosts/asahi/home.nix b/hosts/asahi/home.nix index 89a656e..e15301a 100644 --- a/hosts/asahi/home.nix +++ b/hosts/asahi/home.nix @@ -58,6 +58,35 @@ in stateVersion = "25.05"; # Do not change!!! }; + gtk = { + enable = true; + gtk3 = { + extraConfig = { + gtk-application-prefer-dark-theme = 1; + }; + }; + gtk4 = { + extraConfig = { + gtk-application-prefer-dark-theme = 1; + }; + }; + theme = { + name = "palenight"; + package = pkgs.palenight-theme; + }; + }; + dconf.settings = { + "org/gnome/desktop/interface" = { + color-scheme = "prefer-dark"; + }; + }; + xdg.configFile = { + "gtk-4.0/assets".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/assets"; + "gtk-4.0/gtk.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk.css"; + "gtk-4.0/gtk-dark.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk-dark.css"; + }; + + programs.walker = { enable = true;