Nix fmt rfc style (more or less)

This commit is contained in:
Filippo Berto 2024-08-13 12:22:23 +02:00
parent e7496c447a
commit 515f098644
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
146 changed files with 2607 additions and 906 deletions

View file

@ -1,7 +1,7 @@
{ pkgs, ... }:
let
themeBuilder = palette:
with palette; ''
themeBuilder =
palette: with palette; ''
set-face global value rgb:${normal.magenta},default
set-face global type rgb:${bright.white},default
set-face global identifier rgb:${normal.cyan},default
@ -64,8 +64,12 @@ let
in
{
programs = {
bash.shellAliases = { k = "kak"; };
zsh.shellAliases = { k = "kak"; };
bash.shellAliases = {
k = "kak";
};
zsh.shellAliases = {
k = "kak";
};
kakoune = {
enable = true;
config = {
@ -270,8 +274,9 @@ in
home.packages = packages;
# THEME FILE
xdg.configFile."kak/colors/nord.kak".text = themeBuilder
(pkgs.lib.nix-rice.palette.toRgbShortHex pkgs.rice.colorPalette);
xdg.configFile."kak/colors/nord.kak".text = themeBuilder (
pkgs.lib.nix-rice.palette.toRgbShortHex pkgs.rice.colorPalette
);
xdg.configFile."kak-lsp/kak-lsp.toml".text = ''
snippet_support = false