alacritty --> kitty

This commit is contained in:
John Bowdre 2024-12-21 16:58:20 -06:00
parent 9c0ccc8643
commit 378b6b7778
Signed by: john
SSH key fingerprint: SHA256:cZYnOxaLdo+MhBNMX38ihO/p2Kek6fBykSFoJwHBhUo
6 changed files with 14 additions and 39 deletions

View file

@ -39,8 +39,6 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# alacritty-theme
alacritty-theme.url = "github:alexghr/alacritty-theme.nix";
}; };
outputs = { self, nixpkgs, home-manager, ... }@inputs: outputs = { self, nixpkgs, home-manager, ... }@inputs:

View file

@ -12,4 +12,8 @@
# activate NixGL wrapper for Crostini # activate NixGL wrapper for Crostini
nixGL.packages = inputs.nixgl.packages; nixGL.packages = inputs.nixgl.packages;
nixGL.defaultWrapper = "mesa"; nixGL.defaultWrapper = "mesa";
# to use:
# programs.example.package = (config.lib.nixGL.wrap pkgs.example);
# or:
# home.packages = with pkgs; [ (config.libnixGL.wrap example); ];
} }

View file

@ -1,35 +0,0 @@
{ config, pkgs, ... }: {
# home.packages = with pkgs; [ alacritty-theme ];
programs.alacritty = {
enable = true;
package = (config.lib.nixGL.wrap pkgs.alacritty);
settings = {
bell = {
animation = "EaseOutCirc";
duration = 200;
color = "#c2985b";
};
cursor = {
style = {
shape = "Beam";
blinking = "On";
};
};
font = { normal = { family = "BerkeleyMono Nerd Font Mono"; }; };
general.import = [ pkgs.alacritty-theme.tokyo_night_enhanced ];
terminal = { shell.program = "${pkgs.fish}/bin/fish"; };
window = {
decorations = "None";
padding = {
x = 3;
y = 3;
};
startup_mode = "Maximized";
};
};
};
}

View file

@ -1,6 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }: {
# Common GUI apps # Common GUI apps
imports = [ ./alacritty.nix ./firefox.nix ./vscode.nix ]; imports = [ ./firefox.nix ./kitty.nix ./vscode.nix ];
home.packages = with pkgs; [ gimp-with-plugins qFlipper remmina ]; home.packages = with pkgs; [ gimp-with-plugins qFlipper remmina ];
} }

View file

@ -0,0 +1,9 @@
{ config, pkgs, ... }: {
programs.kitty = {
enable = true;
# package = (config.lib.nixGL.wrap pkgs.kitty);
# settings = { linux_display_server = "x11"; };
};
}

View file

@ -22,5 +22,4 @@
}; };
}; };
alacritty-theme = inputs.alacritty-theme.overlays.default;
} }