New kitty.nix
This commit is contained in:
@@ -2186,19 +2186,23 @@ Kitty gets installed and configured
|
|||||||
#+begin_src nix :tangle home/dev/kitty.nix :noweb tangle :mkdirp yes.
|
#+begin_src nix :tangle home/dev/kitty.nix :noweb tangle :mkdirp yes.
|
||||||
{ config, pkgs, lib, flakeRoot, ... }:
|
{ config, pkgs, lib, flakeRoot, ... }:
|
||||||
let
|
let
|
||||||
repoKittyConfPath = flakeRoot + "/assets/conf/dev/terminal/kitty.conf";
|
repoKittyConfText =
|
||||||
repoKittyConfText = builtins.readFile repoKittyConfPath;
|
builtins.readFile (flakeRoot + "/assets/conf/dev/terminal/kitty.conf");
|
||||||
|
|
||||||
catppuccinMochaConf =
|
catppuccinMochaConf =
|
||||||
builtins.readFile (flakeRoot + "/assets/conf/dev/terminal/Catppuccin-Mocha.conf");
|
builtins.readFile (flakeRoot + "/assets/conf/dev/terminal/Catppuccin-Mocha.conf");
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
|
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Append your repo config into the generated kitty.conf
|
|
||||||
|
# Put your repo config into kitty.conf (appended to HM-generated file)
|
||||||
extraConfig = repoKittyConfText;
|
extraConfig = repoKittyConfText;
|
||||||
};
|
};
|
||||||
# Provide a stable include target (no /nix/store paths in kitty.conf)
|
|
||||||
|
# stable include target (so your repo kitty.conf can "include themes/…")
|
||||||
xdg.configFile."kitty/themes/Catppuccin-Mocha.conf".text = catppuccinMochaConf;
|
xdg.configFile."kitty/themes/Catppuccin-Mocha.conf".text = catppuccinMochaConf;
|
||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|||||||
@@ -1,17 +1,21 @@
|
|||||||
{ config, pkgs, lib, flakeRoot, ... }:
|
{ config, pkgs, lib, flakeRoot, ... }:
|
||||||
let
|
let
|
||||||
repoKittyConfPath = flakeRoot + "/assets/conf/dev/terminal/kitty.conf";
|
repoKittyConfText =
|
||||||
repoKittyConfText = builtins.readFile repoKittyConfPath;
|
builtins.readFile (flakeRoot + "/assets/conf/dev/terminal/kitty.conf");
|
||||||
|
|
||||||
catppuccinMochaConf =
|
catppuccinMochaConf =
|
||||||
builtins.readFile (flakeRoot + "/assets/conf/dev/terminal/Catppuccin-Mocha.conf");
|
builtins.readFile (flakeRoot + "/assets/conf/dev/terminal/Catppuccin-Mocha.conf");
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
|
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Append your repo config into the generated kitty.conf
|
|
||||||
|
# Put your repo config into kitty.conf (appended to HM-generated file)
|
||||||
extraConfig = repoKittyConfText;
|
extraConfig = repoKittyConfText;
|
||||||
};
|
};
|
||||||
# Provide a stable include target (no /nix/store paths in kitty.conf)
|
|
||||||
|
# stable include target (so your repo kitty.conf can "include themes/…")
|
||||||
xdg.configFile."kitty/themes/Catppuccin-Mocha.conf".text = catppuccinMochaConf;
|
xdg.configFile."kitty/themes/Catppuccin-Mocha.conf".text = catppuccinMochaConf;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user