qol: swapped out foot for kitty
This commit is contained in:
@@ -45,20 +45,6 @@ in
|
||||
wlogout = {
|
||||
enable = true;
|
||||
};
|
||||
foot = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
term = "xterm-256color";
|
||||
|
||||
font = "Google Sans Code Nerd Font:size=11";
|
||||
};
|
||||
|
||||
mouse = {
|
||||
hide-when-typing = "yes";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
systemd.user.services."hyprland_suspend" = lib.mkIf cfg.suspend-on-hibernate {
|
||||
Unit = {
|
||||
|
||||
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