update
This commit is contained in:
parent
49ae0d0f70
commit
26cef4ce83
7 changed files with 391 additions and 104 deletions
13
nyx-tool.nix
13
nyx-tool.nix
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue