home: move zsh and direnv to new modules
This commit is contained in:
10
home-manager/templates/module.default.nix
Normal file
10
home-manager/templates/module.default.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let cfg = config.modules.X;
|
||||
in {
|
||||
options.modules.X = { enable = mkOption { default = false; }; };
|
||||
|
||||
config = mkIf cfg.enable { };
|
||||
}
|
Reference in New Issue
Block a user