From b496da2a551e46f08b7a515d7daaa0155c229a48 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Thu, 27 Apr 2023 23:57:25 +0000 Subject: [PATCH] Properly set dark theme in gtk --- home/default.nix | 1 + home/gtk.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 home/gtk.nix diff --git a/home/default.nix b/home/default.nix index 5c2ba83..0d7b1e1 100644 --- a/home/default.nix +++ b/home/default.nix @@ -7,6 +7,7 @@ }; home-manager.users.artemis = { imports = [ + ./gtk.nix ./git.nix ./mpv.nix ./kitty.nix diff --git a/home/gtk.nix b/home/gtk.nix new file mode 100644 index 0000000..803123d --- /dev/null +++ b/home/gtk.nix @@ -0,0 +1,13 @@ +{ ... }: +let + common-gtk = { + gtk-application-prefer-dark-theme = 1; + }; +in +{ + gtk = { + enable = true; + gtk3.extraConfig = common-gtk; + gtk4.extraConfig = common-gtk; + }; +}