pro-home: Add kitty and support of nixgl
All checks were successful
check / check (push) Successful in 36s
All checks were successful
check / check (push) Successful in 36s
This commit is contained in:
parent
a845073dcc
commit
4e98a50b3d
3 changed files with 19 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue