Adapting theme.css
This commit is contained in:
+7
-9
@@ -1371,17 +1371,15 @@ This is top file of this level which contains just an import statement for all r
|
|||||||
This file sets up Kitty terminal
|
This file sets up Kitty terminal
|
||||||
#+BEGIN_SRC nix :tangle generated/system/applications/terminal_shell/kitty.nix :noweb tangle :mkdirp yes :eval never-html
|
#+BEGIN_SRC nix :tangle generated/system/applications/terminal_shell/kitty.nix :noweb tangle :mkdirp yes :eval never-html
|
||||||
{ config, pkgs, lib, user, flakeRoot, ... }:
|
{ config, pkgs, lib, user, flakeRoot, ... }:
|
||||||
|
let
|
||||||
|
kittyConf = "${flakeRoot}/assets/system/conf/kitty/kitty.conf";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
home-manager.users.${user.username} = {
|
home-manager.users.${user.username} = {
|
||||||
programs.kitty = {
|
programs.kitty.enable = true;
|
||||||
enable = true;
|
# Use `.source` for store path files (flake-safe)
|
||||||
};
|
xdg.configFile."kitty/kitty.conf".source = kittyConf;
|
||||||
|
# Optional: if you have a theme
|
||||||
# Copy the main kitty.conf
|
|
||||||
xdg.configFile."kitty/kitty.conf".text = builtins.readFile "${flakeRoot}/assets/system/conf/kitty/kitty.conf";
|
|
||||||
|
|
||||||
# Copy the Stylix-generated Catppuccin Mocha theme
|
|
||||||
xdg.configFile."kitty/Catppuccin-Mocha.conf".source = "${flakeRoot}/assets/system/conf/kitty/Catppuccin-Mocha.conf";
|
xdg.configFile."kitty/Catppuccin-Mocha.conf".source = "${flakeRoot}/assets/system/conf/kitty/Catppuccin-Mocha.conf";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
{ config, pkgs, lib, user, flakeRoot, ... }:
|
{ config, pkgs, lib, user, flakeRoot, ... }:
|
||||||
|
let
|
||||||
|
kittyConf = "${flakeRoot}/assets/system/conf/kitty/kitty.conf";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
home-manager.users.${user.username} = {
|
home-manager.users.${user.username} = {
|
||||||
programs.kitty = {
|
programs.kitty.enable = true;
|
||||||
enable = true;
|
# Use `.source` for store path files (flake-safe)
|
||||||
};
|
xdg.configFile."kitty/kitty.conf".source = kittyConf;
|
||||||
|
# Optional: if you have a theme
|
||||||
# Copy the main kitty.conf
|
|
||||||
xdg.configFile."kitty/kitty.conf".text = builtins.readFile "${flakeRoot}/assets/system/conf/kitty/kitty.conf";
|
|
||||||
|
|
||||||
# Copy the Stylix-generated Catppuccin Mocha theme
|
|
||||||
xdg.configFile."kitty/Catppuccin-Mocha.conf".source = "${flakeRoot}/assets/system/conf/kitty/Catppuccin-Mocha.conf";
|
xdg.configFile."kitty/Catppuccin-Mocha.conf".source = "${flakeRoot}/assets/system/conf/kitty/Catppuccin-Mocha.conf";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user