configured kitty
This commit is contained in:
parent
7ca14b5a6e
commit
41444eb868
3 changed files with 98 additions and 32 deletions
|
|
@ -1,21 +1,80 @@
|
|||
{
|
||||
self,
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
# defines a custom kitty module
|
||||
flake.modules.homeManager.kitty = {
|
||||
programs.kitty = {
|
||||
|
||||
# packages to include
|
||||
home.packages = with pkgs; [
|
||||
kitty
|
||||
];
|
||||
|
||||
# cli fuzzy finder
|
||||
programs.fzf = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
|
||||
programs.kitty = {
|
||||
|
||||
# enables kitty
|
||||
enable = true;
|
||||
|
||||
# kitty integrations
|
||||
enableGitIntegration = true;
|
||||
shellIntegration.enableFishIntegration = true;
|
||||
|
||||
settings = {
|
||||
cursor_shape = "beam";
|
||||
cursor_shape_unfocused = "beam";
|
||||
cursor_trail = 1;
|
||||
confirm_os_window_close = 0;
|
||||
hide_window_decorations = true;
|
||||
show_window_resize_notification = false;
|
||||
# font settings
|
||||
font = {
|
||||
name = "spleen 32x64";
|
||||
size = 12;
|
||||
};
|
||||
|
||||
# misecellaneous kitty config
|
||||
extraConfig = ''
|
||||
window_padding_width 0 20
|
||||
'';
|
||||
|
||||
settings = {
|
||||
|
||||
# sets fish as the default shell
|
||||
shell = "${pkgs.fish}/bin/fish";
|
||||
|
||||
# misc. settings
|
||||
url_style = "curly";
|
||||
disable_ligutures = "never";
|
||||
scrollback_lines = 10000;
|
||||
enable_audio_bell = false;
|
||||
update_check_interval = 0;
|
||||
|
||||
# cursor settings
|
||||
cursor_shape = "Underline";
|
||||
cursor_shape_unfocused = "unchanged";
|
||||
cursor_underline_thickness = 1;
|
||||
cursor_trail = 1;
|
||||
|
||||
# window settings
|
||||
window_padding_width = 5;
|
||||
remember_window_size = "no";
|
||||
initial_window_width = 1200;
|
||||
initial_window_height = 600;
|
||||
confirm_os_window_close = "0";
|
||||
hide_window_decorations = true;
|
||||
show_window_resize_notification = false;
|
||||
|
||||
# Colours
|
||||
# NOT YET IMPLEMENTED
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,13 @@
|
|||
{ self, inputs, ... }: {
|
||||
|
||||
# this module defines all hosts and allocates users to those hosts
|
||||
flake.nixosConfigurations =
|
||||
let
|
||||
|
||||
# users to include on machine
|
||||
username = "serenity";
|
||||
#username2 = "foobar";
|
||||
|
||||
# shorten paths
|
||||
inherit (inputs.nixpkgs.lib) nixosSystem;
|
||||
homeImports = import "${self}/home/profiles";
|
||||
|
|
@ -13,40 +19,39 @@
|
|||
in
|
||||
|
||||
{
|
||||
|
||||
# declare hosts here
|
||||
hades = nixosSystem {
|
||||
inherit specialArgs;
|
||||
modules = base ++ [
|
||||
#inputs.foo.bar
|
||||
./hades
|
||||
"${mod}/programs/games.nix"
|
||||
"${mod}/network/syncthing.nix"
|
||||
"${mod}/services/kanata"
|
||||
{
|
||||
home-manager = {
|
||||
users.serenity.imports = homeImports."serenity";
|
||||
extraSpecialArgs = specialArgs;
|
||||
backupFileExtension = ".hm-backup";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
nixos = nixosSystem {
|
||||
inherit specialArgs;
|
||||
modules = [
|
||||
"${mod}/users.nix"
|
||||
"${mod}/nix"
|
||||
"${mod}/programs/fish.nix"
|
||||
"${mod}/programs/home-manager.nix"
|
||||
|
||||
# include the core configuration
|
||||
self.nixosModules.coreConfig
|
||||
|
||||
# specify host config directory
|
||||
./hades
|
||||
|
||||
# users to include on machine
|
||||
"${mod}/users/u-${username}.nix"
|
||||
#"${mod}/users/u-${username2}.nix"
|
||||
|
||||
# home manager
|
||||
"${mod}/misc/hm-parts.nix"
|
||||
{
|
||||
home-manager = {
|
||||
users.serenity.imports = homeImports.minimal;
|
||||
|
||||
# misc. hm settings
|
||||
extraSpecialArgs = specialArgs;
|
||||
backupFileExtension = ".hm-backup";
|
||||
|
||||
# user specific hm configurations present on machine
|
||||
users.${username}.imports = homeImports."${username}";
|
||||
#users.${username2}.imports = homeImports."${username2}";
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ in
|
|||
# user specific modules to import
|
||||
imports = [
|
||||
self.flake.homeModules.baseHome
|
||||
#self.flake.homeModules.configName
|
||||
];
|
||||
|
||||
};
|
||||
|
|
@ -67,6 +68,7 @@ in
|
|||
];
|
||||
|
||||
# dont hardcode this
|
||||
# catgirl shell
|
||||
shell = pkgs.fish;
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue