nix: expose shared home manager configuration via homeModules

This commit is contained in:
Primrose 2024-07-12 23:22:09 +02:00
parent 5155bd69e8
commit 5b95c43559
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
47 changed files with 45 additions and 29 deletions

View file

@ -0,0 +1,45 @@
{
pkgs,
lib,
config,
...
}:
{
programs.kitty = lib.mkIf config.programs.kitty.enable {
font = {
name = "HiosevkaNFM";
size = 17;
};
settings = {
foreground = "#000000";
background = "#ffffff";
confirm_os_window_close = 0;
text_composition_strategy = "1.55 0";
shell = "${pkgs.fish}/bin/fish -c tmux_home";
};
extraConfig = ''
background #f8f8f8
foreground #2a2b33
cursor #bbbbbb
selection_background #ececec
color0 #000000
color8 #000000
color1 #ca1243
color9 #ca1243
color2 #50a14f
color10 #50a14f
color3 #e5bf6d
color11 #e5bf6d
color4 #4078f2
color12 #4078f2
color5 #950095
color13 #a00095
color6 #0184bc
color14 #0184bc
color7 #bbbbbb
color15 #ffffff
selection_foreground #f8f8f8
'';
shellIntegration.enableFishIntegration = true;
};
}