From 08beb20033ff37d2498f380b03ef1132483f79a1 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 22 Apr 2021 00:25:49 +0200 Subject: [PATCH] home: themes: set default values --- home/themes/default.nix | 2 ++ home/themes/i3.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/home/themes/default.nix b/home/themes/default.nix index 9911106..ebf417e 100644 --- a/home/themes/default.nix +++ b/home/themes/default.nix @@ -9,6 +9,7 @@ let }; i3Theme = mkOption { type = import ./i3.nix { inherit lib; }; + default = {}; }; }; }; @@ -16,6 +17,7 @@ in { options.my.theme = mkOption { type = themeType; + default = {}; }; options.my.themes = mkOption { diff --git a/home/themes/i3.nix b/home/themes/i3.nix index 9e9d72d..450f26a 100644 --- a/home/themes/i3.nix +++ b/home/themes/i3.nix @@ -103,6 +103,8 @@ types.submodule { }; }; }; + + default = {}; }; background = mkOption {