pro-home: Add kitty and support of nixgl
All checks were successful
check / check (push) Successful in 36s

This commit is contained in:
Florian RICHER 2025-06-26 11:48:01 +02:00
parent a845073dcc
commit 4e98a50b3d
3 changed files with 19 additions and 1 deletions

View file

@ -78,6 +78,7 @@
flake-utils,
home-manager,
agenix,
nixgl,
lanzaboote,
disko,
nvf,
@ -139,6 +140,8 @@
{ nix.package = pkgs.nix; }
./hosts/${name}/home.nix
];
extraSpecialArgs = inputs;
};
in
{

View file

@ -1,11 +1,23 @@
{ ... }:
{ config, nixgl, pkgs, ... }:
{
imports = [
../../modules/home
];
nixGL = {
packages = nixgl.packages;
installScripts = ["mesa"];
};
modules.home = {
apps = {
kitty = {
enable = true;
package = config.lib.nixGL.wrap pkgs.kitty;
};
};
shell = {
zsh.enable = true;
atuin.enable = true;

View file

@ -18,10 +18,13 @@ in
'';
type = types.bool;
};
package = lib.mkPackageOption pkgs "kitty" { };
};
config = mkIf cfg.enable {
programs.kitty = {
enable = true;
inherit (cfg) package;
font = {
name = "FiraCode Nerd Font";