From 0fa19ed55565ceca8cbbce9e9416fe4c06097115 Mon Sep 17 00:00:00 2001 From: Robert Prije Date: Sun, 24 Feb 2019 15:53:46 +1100 Subject: [PATCH] gnome-terminal: add support for light/dark theme variants --- modules/programs/gnome-terminal.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/programs/gnome-terminal.nix b/modules/programs/gnome-terminal.nix index fa5ce43b1..d520ef044 100644 --- a/modules/programs/gnome-terminal.nix +++ b/modules/programs/gnome-terminal.nix @@ -141,6 +141,12 @@ in description = "Whether to show the menubar by default"; }; + themeVariant = mkOption { + default = "default"; + type = types.enum [ "default" "light" "dark" ]; + description = "The theme variation to request"; + }; + profile = mkOption { default = {}; type = types.attrsOf profileSubModule; @@ -159,6 +165,7 @@ in { "${dconfPath}" = { default-show-menubar = cfg.showMenubar; + theme-variant = cfg.themeVariant; schema-version = 3; };