konawall for macOS

This commit is contained in:
Kat Inskip 2023-07-30 12:59:15 -07:00
parent 1659ee9ca2
commit ba5647287f
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
6 changed files with 95 additions and 17 deletions

View file

@ -5,7 +5,7 @@
std,
...
}: let
inherit (lib.option) mkOption;
inherit (lib.options) mkOption;
inherit (lib.types) attrsOf str enum;
inherit (lib.modules) mkIf;
inherit (std) string set tuple list;
@ -48,7 +48,7 @@ in {
src,
}: let
variables = pkgs.writeText "base-variables.sass" ''
${(string.concatSep "\n" (mapToValues (var: con: "\$${var}: ${con}") cfg.sass.variables))}
${(string.concatSep "\n" (set.mapToValues (var: con: "\$${var}: ${con}") cfg.sass.variables))}
'';
source =
pkgs.callPackage