aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 519effd..d9b8840 100644
--- a/flake.nix
+++ b/flake.nix
@@ -39,7 +39,7 @@
if config.pywal-nix.light then "1" else "0"
} | \
sed "s/'/\"/g" | \
- jq 'to_entries | map({"colour\(.key)": .value}) | add' > $out/colour-scheme
+ jq 'to_entries | map({"colour\(.key)": .value, "color\(.key)": .value}) | add' > $out/colour-scheme
''
}/colour-scheme"
);
@@ -69,9 +69,14 @@
colourScheme = lib.mkOption {
type = lib.types.attrsOf lib.types.str;
};
+
+ colorScheme = lib.mkOption {
+ type = lib.types.attrsOf lib.types.str;
+ };
};
config.pywal-nix.colourScheme = colourScheme;
+ config.pywal-nix.colorScheme = colourScheme;
};
});
}