From ecaa4536c52b44a4f91753cb9cc99b7532c7cb25 Mon Sep 17 00:00:00 2001 From: Vegard Bieker Matthey Date: Mon, 15 Dec 2025 10:03:53 +0100 Subject: [PATCH] gtk dark theme --- configuration.nix | 6 +++--- home.nix | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index d743f81..5e8d2d6 100644 --- a/configuration.nix +++ b/configuration.nix @@ -29,7 +29,7 @@ fonts.fontconfig.enable = true; fonts.fontconfig.defaultFonts = { monospace = [ - "Hack" + "Hack" ]; sansSerif = [ "Notonoto Sans" @@ -43,7 +43,6 @@ "Noto Color Emoji" "Noto Emoji" "Noto Emoji Blob" - "Noto Monochrome Emoji" ]; }; fonts.packages = with pkgs; [ @@ -53,7 +52,6 @@ noto-fonts-cjk-sans noto-fonts-cjk-serif noto-fonts-color-emoji - noto-fonts-monochrome-emoji noto-fonts-emoji-blob-bin ]; @@ -133,6 +131,8 @@ security.polkit.enable = true; programs.light.enable = true; + # Necessary for gtk config, see: https://github.com/nix-community/home-manager/issues/3113 + programs.dconf.enable = true; # For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion . system.stateVersion = "25.05"; # Did you read the comment? diff --git a/home.nix b/home.nix index 0f8259c..1c3aa30 100644 --- a/home.nix +++ b/home.nix @@ -37,6 +37,12 @@ ]; }; + gtk = { + enable = true; + theme.name = "Adwaita-dark"; + theme.package = pkgs.gnome-themes-extra; + }; + programs.nixvim = { enable = true; colorschemes.catppuccin.enable = true;