mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
feat(base16): up to date with arcexprs
This commit is contained in:
parent
f9c9ce19b8
commit
3dcf5795f3
9 changed files with 256 additions and 248 deletions
|
|
@ -2,6 +2,16 @@
|
|||
|
||||
let
|
||||
inherit (lib.modules) mkIf;
|
||||
inherit (lib.strings) concatStringsSep;
|
||||
inherit (lib.attrsets) mapAttrsToList;
|
||||
initLua = pkgs.writeText "init.lua" (
|
||||
''-- Kat's Base16 Colors
|
||||
local base16 = {
|
||||
${concatStringsSep "\n" (mapAttrsToList(var: col: "${var} = '${col}',") config.kw.theme.base16)}
|
||||
}
|
||||
|
||||
${builtins.readFile ./init.lua}
|
||||
'');
|
||||
in {
|
||||
home.sessionVariables = mkIf config.programs.neovim.enable { EDITOR = "nvim"; };
|
||||
|
||||
|
|
@ -73,7 +83,7 @@ in {
|
|||
clangStdenv.cc
|
||||
];
|
||||
extraConfig = ''
|
||||
luafile ${./init.lua}
|
||||
luafile ${initLua}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue