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,
|
flake-utils,
|
||||||
home-manager,
|
home-manager,
|
||||||
agenix,
|
agenix,
|
||||||
|
nixgl,
|
||||||
lanzaboote,
|
lanzaboote,
|
||||||
disko,
|
disko,
|
||||||
nvf,
|
nvf,
|
||||||
|
@ -139,6 +140,8 @@
|
||||||
{ nix.package = pkgs.nix; }
|
{ nix.package = pkgs.nix; }
|
||||||
./hosts/${name}/home.nix
|
./hosts/${name}/home.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
extraSpecialArgs = inputs;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,11 +1,23 @@
|
||||||
{ ... }:
|
{ config, nixgl, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/home
|
../../modules/home
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nixGL = {
|
||||||
|
packages = nixgl.packages;
|
||||||
|
installScripts = ["mesa"];
|
||||||
|
};
|
||||||
|
|
||||||
modules.home = {
|
modules.home = {
|
||||||
|
apps = {
|
||||||
|
kitty = {
|
||||||
|
enable = true;
|
||||||
|
package = config.lib.nixGL.wrap pkgs.kitty;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
shell = {
|
shell = {
|
||||||
zsh.enable = true;
|
zsh.enable = true;
|
||||||
atuin.enable = true;
|
atuin.enable = true;
|
||||||
|
|
|
@ -18,10 +18,13 @@ in
|
||||||
'';
|
'';
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
package = lib.mkPackageOption pkgs "kitty" { };
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
inherit (cfg) package;
|
||||||
|
|
||||||
font = {
|
font = {
|
||||||
name = "FiraCode Nerd Font";
|
name = "FiraCode Nerd Font";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue