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 = {
|
flake.modules.homeManager.kitty = {
|
||||||
programs.kitty = {
|
|
||||||
|
# packages to include
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
kitty
|
||||||
|
];
|
||||||
|
|
||||||
|
# cli fuzzy finder
|
||||||
|
programs.fzf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableFishIntegration = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.kitty = {
|
||||||
|
|
||||||
|
# enables kitty
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
# kitty integrations
|
||||||
enableGitIntegration = true;
|
enableGitIntegration = true;
|
||||||
shellIntegration.enableFishIntegration = true;
|
shellIntegration.enableFishIntegration = true;
|
||||||
|
|
||||||
settings = {
|
# font settings
|
||||||
cursor_shape = "beam";
|
font = {
|
||||||
cursor_shape_unfocused = "beam";
|
name = "spleen 32x64";
|
||||||
cursor_trail = 1;
|
size = 12;
|
||||||
confirm_os_window_close = 0;
|
|
||||||
hide_window_decorations = true;
|
|
||||||
show_window_resize_notification = false;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# misecellaneous kitty config
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
window_padding_width 0 20
|
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, ... }: {
|
{ self, inputs, ... }: {
|
||||||
|
|
||||||
|
# this module defines all hosts and allocates users to those hosts
|
||||||
flake.nixosConfigurations =
|
flake.nixosConfigurations =
|
||||||
let
|
let
|
||||||
|
|
||||||
|
# users to include on machine
|
||||||
|
username = "serenity";
|
||||||
|
#username2 = "foobar";
|
||||||
|
|
||||||
# shorten paths
|
# shorten paths
|
||||||
inherit (inputs.nixpkgs.lib) nixosSystem;
|
inherit (inputs.nixpkgs.lib) nixosSystem;
|
||||||
homeImports = import "${self}/home/profiles";
|
homeImports = import "${self}/home/profiles";
|
||||||
|
|
@ -13,40 +19,39 @@
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
# declare hosts here
|
||||||
hades = nixosSystem {
|
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;
|
inherit specialArgs;
|
||||||
modules = [
|
modules = [
|
||||||
"${mod}/users.nix"
|
|
||||||
"${mod}/nix"
|
# include the core configuration
|
||||||
"${mod}/programs/fish.nix"
|
self.nixosModules.coreConfig
|
||||||
"${mod}/programs/home-manager.nix"
|
|
||||||
|
# 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 = {
|
home-manager = {
|
||||||
users.serenity.imports = homeImports.minimal;
|
|
||||||
|
# misc. hm settings
|
||||||
extraSpecialArgs = specialArgs;
|
extraSpecialArgs = specialArgs;
|
||||||
backupFileExtension = ".hm-backup";
|
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
|
# user specific modules to import
|
||||||
imports = [
|
imports = [
|
||||||
self.flake.homeModules.baseHome
|
self.flake.homeModules.baseHome
|
||||||
|
#self.flake.homeModules.configName
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
@ -67,6 +68,7 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
# dont hardcode this
|
# dont hardcode this
|
||||||
|
# catgirl shell
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue