-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also fixed `age` and `eza` default.nix files content
- Loading branch information
Showing
8 changed files
with
85 additions
and
14 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
pkgs, | ||
config, | ||
lib, | ||
namespace, | ||
... | ||
}: | ||
let | ||
inherit (lib) mkIf; | ||
inherit (lib.${namespace}) mkBoolOpt; | ||
|
||
cfg = config.${namespace}.cli.programs.dua; | ||
in | ||
{ | ||
options.${namespace}.cli.programs.dua = { | ||
enable = mkBoolOpt false "Whether or not to enable dua."; | ||
}; | ||
|
||
config = mkIf cfg.enable { home.packages = with pkgs; [ dua ]; }; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
inputs, | ||
pkgs, | ||
config, | ||
lib, | ||
namespace, | ||
... | ||
}: | ||
let | ||
inherit (lib) mkIf; | ||
inherit (lib.${namespace}) mkBoolOpt; | ||
|
||
cfg = config.${namespace}.cli.programs.nsearch; | ||
in | ||
{ | ||
options.${namespace}.cli.programs.nsearch = { | ||
enable = mkBoolOpt false "Whether or not to enable nsearch."; | ||
}; | ||
|
||
config = mkIf cfg.enable { home.packages = [ inputs.nsearch.packages.${pkgs.system}.default ]; }; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters