Rebuild nix files
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
};
|
};
|
||||||
git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
lfs.enable = true;
|
lfs.enable = true;henro
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +1,18 @@
|
|||||||
{ config, pkgs, lib, flakeRoot, ... }:
|
{ config, pkgs, lib, flakeRoot, ... }:
|
||||||
let
|
let
|
||||||
repoKittyConf = flakeRoot + "/assets/conf/dev/terminal/kitty.conf";
|
repoKittyConf = flakeRoot + "/assets/conf/dev/terminal/kitty.conf";
|
||||||
|
# Use the Catppuccin theme shipped by the catppuccin/kitty repo (mocha flavor).
|
||||||
|
# (Could also use a file from a package, but keeping it explicit & stable is easiest.)
|
||||||
|
catppuccinMochaConf = builtins.readFile (flakeRoot + "/assets/conf/dev/terminal/Catppuccin-Mocha.conf");
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
programs.kitty.enable = true;
|
programs.kitty.enable = true;
|
||||||
catppuccin.alacritty.enable = true;
|
# Single source of truth: kitty.conf from your repo
|
||||||
catppuccin.alacritty.flavor = "mocha";
|
|
||||||
syntaxHighlighting.enable = true;
|
|
||||||
autosuggestion.enable = true;
|
|
||||||
enableCompletion = true;
|
|
||||||
xdg.configFile."kitty/kitty.conf".source = repoKittyConf;
|
xdg.configFile."kitty/kitty.conf".source = repoKittyConf;
|
||||||
|
# Provide a stable include target (no /nix/store paths in kitty.conf)
|
||||||
|
xdg.configFile."kitty/themes/Catppuccin-Mocha.conf".text = catppuccinMochaConf;
|
||||||
|
# (Remove these from this module; they don't apply to kitty)
|
||||||
|
# catppuccin.alacritty.enable = ...
|
||||||
|
# syntaxHighlighting.enable / autosuggestion.enable / enableCompletion
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user