refactor shell config
This commit is contained in:
parent
aa062722d5
commit
385bfedd8f
9 changed files with 139 additions and 78 deletions
18
home/modules/programs/eza.nix
Normal file
18
home/modules/programs/eza.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.youthlic.programs.eza;
|
||||
in {
|
||||
options = {
|
||||
youthlic.programs.eza = {
|
||||
enable = lib.mkEnableOption "eza";
|
||||
};
|
||||
};
|
||||
config = {
|
||||
programs.eza = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue