This commit is contained in:
Peritia 2025-07-15 11:25:00 +02:00
parent 49ae0d0f70
commit 26cef4ce83
7 changed files with 391 additions and 104 deletions

View file

@ -1,11 +1,18 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs,... }:
let
cfg = config.modules.nix-tool;
scriptTargetPath = "${cfg.nixDirectory}/Misc/Nyx-Tools/zsh/nyx-cleanup.zsh";
scriptTargetPath = "${cfg.nixDirectory}/Misc/Nyx-Tools/zsh/nyx-tool.zsh";
in
{
options.modules.nix-tool.enable = lib.mkEnableOption "Enable nix-tool Zsh function for Banner display.";
options.modules.nix-tool = {
enable = lib.mkEnableOption "Enable nix-tool Zsh function for Banner display.";
nixDirectory = lib.mkOption {
type = lib.types.str;
description = "Path to the main Nix directory used for scripts.";
};
};
config = lib.mkIf cfg.enable {
home.packages = [