Release Ver 1.2.0
This commit is contained in:
parent
7f73899c91
commit
89600ebb06
25 changed files with 1862 additions and 57 deletions
|
|
@ -16,7 +16,7 @@ let
|
|||
[
|
||||
(toString nyxCfg.logDir)
|
||||
(toString nyxCfg.nixDirectory)
|
||||
"1.1.1"
|
||||
"1.2.0"
|
||||
"${pkgs.dialog}/bin/dialog"
|
||||
]
|
||||
src;
|
||||
|
|
@ -24,6 +24,7 @@ in
|
|||
{
|
||||
options.nyx."nyx-tui" = {
|
||||
enable = lib.mkEnableOption "Enable nyx-tui script";
|
||||
|
||||
enableAlias = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
|
|
@ -32,14 +33,12 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf ((nyxCfg.enable or false) && (cfg.enable or false)) {
|
||||
home.packages = [
|
||||
environment.systemPackages = [
|
||||
(pkgs.writeShellScriptBin "nyx-tui" tuiScript)
|
||||
];
|
||||
|
||||
home.shellAliases = lib.mkIf (cfg.enableAlias or true) {
|
||||
environment.shellAliases = lib.mkIf (cfg.enableAlias or true) {
|
||||
nyx = "nyx-tui";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue