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;
with lib.${namespace};
let
cfg = config.wyrdgard.system.hardware.networking;
cfg = config.${namespace}.system.hardware.networking;
in
{
options.wyrdgard.system.hardware.networking = with types; {
options.${namespace}.system.hardware.networking = with types; {
enable = mkBoolOpt false "Whether or not to enable networking";
};