1

trusted users + restructure folders

This commit is contained in:
2022-08-11 14:17:06 +02:00
parent f3d9fe98ae
commit a957ebf480
20 changed files with 2 additions and 1 deletions

62
home/modules/kitty.nix Normal file
View File

@ -0,0 +1,62 @@
{ config, nixosConfig, lib, mylib, pkgs, ... }:
with lib;
with mylib.modules;
let
cfg = config.modules.kitty;
cfgnv = config.modules.neovim;
in {
options.modules.kitty = {
enable = mkEnableOpt "Kitty";
};
config = mkIf cfg.enable {
# TODO: Copy config from Arch dots, also move the entire config folder (to allow ephemereal configs)
# TODO: Light/Dark theme option
programs.kitty = {
enable = true;
font = {
package = pkgs.victor-mono;
name = "Victor Mono SemiBold";
size = 12;
};
settings = {
editor = (if cfgnv.enable then "nvim" else "nano");
scrollback_lines = 10000;
window_padding_width = 10;
# hide_window_decorations = "yes";
# Light Theme
# background = "#f7f7f7";
# foreground = "#494542";
# selection_background = "#a4a1a1";
# selection_foreground = "#f7f7f7";
# cursor = "#494542";
# color0 = "#090200";
# color1 = "#da2c20";
# color2 = "#00a152";
# color3 = "#ffcc00";
# color4 = "#00a0e4";
# color5 = "#a06994";
# color6 = "#0077d9";
# color7 = "#a4a1a1";
# color8 = "#5b5754";
# color9 = "#e8bacf";
# color10 = "#3a3332";
# color11 = "#494542";
# color12 = "#7f7c7b";
# color13 = "#d6d4d3";
# color14 = "#ccab53";
# color15 = "#d2b3ff";
};
keybindings = {
"kitty_mod+j" = "next_window";
"kitty_mod+k" = "previous_window";
};
};
};
}