qol: swapped out foot for kitty
This commit is contained in:
4
modules/kitty/default.nix
Normal file
4
modules/kitty/default.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
_: {
|
||||
nixos = ./nixos.nix;
|
||||
home = ./home.nix;
|
||||
}
|
||||
31
modules/kitty/home.nix
Normal file
31
modules/kitty/home.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
pkgs,
|
||||
home,
|
||||
system,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.kitty;
|
||||
in
|
||||
{
|
||||
options.modules.kitty = {
|
||||
enable = lib.mkEnableOption "kitty configuration module";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
font = {
|
||||
name = "Google Sans Code Nerd Font";
|
||||
size = 11;
|
||||
};
|
||||
};
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
bind = [
|
||||
"$mainMod, q, exec, kitty"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
19
modules/kitty/nixos.nix
Normal file
19
modules/kitty/nixos.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
pkgs,
|
||||
home,
|
||||
system,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.kitty;
|
||||
in
|
||||
{
|
||||
options.modules.kitty = {
|
||||
enable = lib.mkEnableOption "kitty configuration module";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user