Make other desktop Home Manager modules togglable
This commit is contained in:
parent
af9edbfe1a
commit
0baed7e6f6
12 changed files with 124 additions and 77 deletions
|
@ -1,7 +1,13 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
options.features.cli.direnv.enable = lib.mkEnableOption "Enable direnv";
|
||||
|
||||
config = lib.mkIf config.features.cli.direnv.enable {
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue