kitty 🥺
This commit is contained in:
parent
b0c76a2219
commit
ebce36cabb
4 changed files with 59 additions and 55 deletions
24
flake.lock
24
flake.lock
|
@ -59,11 +59,11 @@
|
||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1709126324,
|
"lastModified": 1710146030,
|
||||||
"narHash": "sha256-q6EQdSeUZOG26WelxqkmR7kArjgWCdw5sfJVHPH/7j8=",
|
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "d465f4819400de7c8d874d50b982301f28a84605",
|
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -79,11 +79,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1706981411,
|
"lastModified": 1710888565,
|
||||||
"narHash": "sha256-cLbLPTL1CDmETVh4p0nQtvoF+FSEjsnJTFpTxhXywhQ=",
|
"narHash": "sha256-s9Hi4RHhc6yut4EcYD50sZWRDKsugBJHSbON8KFwoTw=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "652fda4ca6dafeb090943422c34ae9145787af37",
|
"rev": "f33900124c23c4eca5831b9b5eb32ea5894375ce",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -95,11 +95,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1709309926,
|
"lastModified": 1710951922,
|
||||||
"narHash": "sha256-VZFBtXGVD9LWTecGi6eXrE0hJ/mVB3zGUlHImUs2Qak=",
|
"narHash": "sha256-FOOBJ3DQenLpTNdxMHR2CpGZmYuctb92gF0lpiirZ30=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "79baff8812a0d68e24a836df0a364c678089e2c7",
|
"rev": "f091af045dff8347d66d186a62d42aceff159456",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -110,11 +110,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1709356872,
|
"lastModified": 1710889954,
|
||||||
"narHash": "sha256-mvxCirJbtkP0cZ6ABdwcgTk0u3bgLoIoEFIoYBvD6+4=",
|
"narHash": "sha256-Pr6F5Pmd7JnNEMHHmspZ0qVqIBVxyZ13ik1pJtm2QXk=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "458b097d81f90275b3fdf03796f0563844926708",
|
"rev": "7872526e9c5332274ea5932a0c3270d6e4724f3b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -5,5 +5,6 @@
|
||||||
./tmux.nix
|
./tmux.nix
|
||||||
./starship.nix
|
./starship.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
|
./kitty.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
43
modules/home/kitty.nix
Normal file
43
modules/home/kitty.nix
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
let
|
||||||
|
graphical = if builtins.hasAttr "cherrykitten" config
|
||||||
|
then config.cherrykitten.graphical
|
||||||
|
else true;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
programs.kitty = lib.mkIf graphical {
|
||||||
|
enable = true;
|
||||||
|
theme = "Catppuccin-Mocha";
|
||||||
|
settings = {
|
||||||
|
enable_audio_bell = false;
|
||||||
|
background_opacity = 1;
|
||||||
|
copy_on_select = "clipboard";
|
||||||
|
hide_window_decorations = true;
|
||||||
|
|
||||||
|
# symbol maps
|
||||||
|
# Seti-UI + Custom
|
||||||
|
"symbol_map U+E5FA-U+E62B" = "Symbols Nerd Font";
|
||||||
|
# Devicons
|
||||||
|
"symbol_map U+E700-U+E7C5" = "Symbols Nerd Font";
|
||||||
|
# Font Awesome
|
||||||
|
"symbol_map U+F000-U+F2E0" = "Symbols Nerd Font";
|
||||||
|
# Font Awesome Extension
|
||||||
|
"symbol_map U+E200-U+E2A9" = "Symbols Nerd Font";
|
||||||
|
# Material Design Icons
|
||||||
|
"symbol_map U+F500-U+FD46" = "Symbols Nerd Font";
|
||||||
|
# Weather
|
||||||
|
"symbol_map U+E300-U+E3EB" = "Symbols Nerd Font";
|
||||||
|
# Octicons
|
||||||
|
"symbol_map U+F400-U+F4A8,U+2665,U+26A1,U+F27C" = "Symbols Nerd Font";
|
||||||
|
# Powerline Extra Symbols
|
||||||
|
"symbol_map U+E0A3,U+E0B4-U+E0C8,U+E0CC-U+E0D2,U+E0D4" = "Symbols Nerd Font";
|
||||||
|
# IEC Power Symbols
|
||||||
|
"symbol_map U+23FB-U+23FE,U+2b58" = "Symbols Nerd Font";
|
||||||
|
# Font Logos
|
||||||
|
"symbol_map U+F300-U+F313" = "Symbols Nerd Font";
|
||||||
|
# Pomicons
|
||||||
|
"symbol_map U+E000-U+E00D" = "Symbols Nerd Font";
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -3,11 +3,10 @@ let
|
||||||
cfg = config.cherrykitten.graphical;
|
cfg = config.cherrykitten.graphical;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.cherrykitten.graphical = {
|
options.cherrykitten.graphical = lib.mkEnableOption (lib.mdDoc "graphical stuffs");
|
||||||
enable = lib.mkEnableOption (lib.mdDoc "graphical stuffs");
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
|
config = lib.mkIf cfg {
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
displayManager.sddm.enable = true;
|
displayManager.sddm.enable = true;
|
||||||
|
@ -18,44 +17,5 @@ in
|
||||||
xkb.layout = "de";
|
xkb.layout = "de";
|
||||||
xkb.options = "caps:escape";
|
xkb.options = "caps:escape";
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.sammy = {
|
|
||||||
programs = {
|
|
||||||
librewolf.enable = true;
|
|
||||||
|
|
||||||
kitty = {
|
|
||||||
enable = true;
|
|
||||||
theme = "Catppuccin-Mocha";
|
|
||||||
font = {
|
|
||||||
name = "Monaspace Xenon";
|
|
||||||
size = 12;
|
|
||||||
};
|
|
||||||
settings = {
|
|
||||||
# Seti-UI + Custom
|
|
||||||
"symbol_map U+E5FA-U+E62B" = "Symbols Nerd Font";
|
|
||||||
# Devicons
|
|
||||||
"symbol_map U+E700-U+E7C5" = "Symbols Nerd Font";
|
|
||||||
# Font Awesome
|
|
||||||
"symbol_map U+F000-U+F2E0" = "Symbols Nerd Font";
|
|
||||||
# Font Awesome Extension
|
|
||||||
"symbol_map U+E200-U+E2A9" = "Symbols Nerd Font";
|
|
||||||
# Material Design Icons
|
|
||||||
"symbol_map U+F500-U+FD46" = "Symbols Nerd Font";
|
|
||||||
# Weather
|
|
||||||
"symbol_map U+E300-U+E3EB" = "Symbols Nerd Font";
|
|
||||||
# Octicons
|
|
||||||
"symbol_map U+F400-U+F4A8,U+2665,U+26A1,U+F27C" = "Symbols Nerd Font";
|
|
||||||
# Powerline Extra Symbols
|
|
||||||
"symbol_map U+E0A3,U+E0B4-U+E0C8,U+E0CC-U+E0D2,U+E0D4" = "Symbols Nerd Font";
|
|
||||||
# IEC Power Symbols
|
|
||||||
"symbol_map U+23FB-U+23FE,U+2b58" = "Symbols Nerd Font";
|
|
||||||
# Font Logos
|
|
||||||
"symbol_map U+F300-U+F313" = "Symbols Nerd Font";
|
|
||||||
# Pomicons
|
|
||||||
"symbol_map U+E000-U+E00D" = "Symbols Nerd Font";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue