Working on terminal stuff
This commit is contained in:
@@ -1,18 +1,25 @@
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot, ... }:
|
||||
{ config, pkgs, lib, user, ... }:
|
||||
let
|
||||
kittyConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/kitty";
|
||||
in
|
||||
{
|
||||
# NixOS-level packages (optional, if you want Kitty installed system-wide)
|
||||
environment.systemPackages = with pkgs; [ kitty ];
|
||||
|
||||
# Home Manager configuration for Kitty
|
||||
home-manager.users.${user.username} = {
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
font_family = "FiraCode Nerd Font Mono";
|
||||
include = [ "${flakeRoot}/assets/kitty/themes/Catppuccin-Mocha.conf" ];
|
||||
background_opacity = 0.60;
|
||||
dynamic_background_opacity = true;
|
||||
font_family = "JetBrainsMono Nerd Font";
|
||||
font_size = 12.0;
|
||||
cursor = "Beam";
|
||||
cursor_blink_interval = -1;
|
||||
shell = "${pkgs.zsh}/bin/zsh";
|
||||
};
|
||||
};
|
||||
|
||||
# Catppuccin Mocha theme for Kitty
|
||||
xdg.configFile."kitty/theme.conf".source = "${pkgs.catppuccin-kitty}/share/kitty/themes/Catppuccin-Mocha.conf";
|
||||
xdg.configFile."kitty/kitty.conf".text = ''
|
||||
include ${kittyConfigDir}/theme.conf
|
||||
background_opacity 0.9
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user