1
0
Fork 0

add nh, fix description eza

fix nh
This commit is contained in:
Philipp 2025-03-08 11:05:09 +01:00
parent c942a2e87c
commit 0b828b6e65
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750
4 changed files with 62 additions and 35 deletions

View file

@ -12,7 +12,7 @@ let
in
{
options.${namespace}.cli.eza = with types; {
enable = mkBoolOpt false "Whether or not to use Plasma as the desktop environment.";
enable = mkBoolOpt false "Whether or not to use eza.";
};
config = mkIf cfg.enable {

View file

@ -0,0 +1,26 @@
{
config,
lib,
namespace,
...
}:
with lib;
with lib.${namespace};
let
cfg = config.${namespace}.cli.nh;
in
{
options.${namespace}.cli.nh = with types; {
enable = mkBoolOpt false "Whether or not to use nh.";
};
config = mkIf cfg.enable {
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 4d --keep 3";
flake = "/home/philipp/Documents/nix-config";
};
};
}