qol: swapped out foot for kitty
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
wivrn.enable = false;
|
wivrn.enable = false;
|
||||||
helium.enable = true;
|
helium.enable = true;
|
||||||
nixvim.enable = true;
|
nixvim.enable = true;
|
||||||
|
kitty.enable = true;
|
||||||
helix.enable = false;
|
helix.enable = false;
|
||||||
stylix.enable = true;
|
stylix.enable = true;
|
||||||
tmux.enable = true;
|
tmux.enable = true;
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
nixvim.enable = true;
|
nixvim.enable = true;
|
||||||
helix.enable = false;
|
helix.enable = false;
|
||||||
stylix.enable = true;
|
stylix.enable = true;
|
||||||
|
kitty.enable = true;
|
||||||
tmux.enable = true;
|
tmux.enable = true;
|
||||||
theme.enable = true;
|
theme.enable = true;
|
||||||
obs.enable = true;
|
obs.enable = true;
|
||||||
|
|||||||
@@ -45,20 +45,6 @@ in
|
|||||||
wlogout = {
|
wlogout = {
|
||||||
enable = true;
|
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 {
|
systemd.user.services."hyprland_suspend" = lib.mkIf cfg.suspend-on-hibernate {
|
||||||
Unit = {
|
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