chore: make namespace generic so people can copy easier

This commit is contained in:
Christoph Hollizeck 2024-10-11 00:17:03 +02:00
parent 12d58b9636
commit 0b694ff210
45 changed files with 249 additions and 217 deletions

View file

@ -1,17 +1,17 @@
{
options,
config,
lib,
pkgs,
namespace,
options,
...
}:
with lib;
with lib.wyrdgard;
let
cfg = config.wyrdgard.tools.direnv;
inherit (lib) mkIf;
inherit (lib.${namespace}) mkBoolOpt enabled;
cfg = config.${namespace}.tools.direnv;
in
{
options.wyrdgard.tools.direnv = with types; {
options.${namespace}.tools.direnv = {
enable = mkBoolOpt false "Whether or not to enable direnv.";
};