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 f86211cb02
commit f7f9db9509
45 changed files with 249 additions and 217 deletions

View file

@ -1,18 +1,18 @@
{
options,
config,
pkgs,
lib,
inputs,
lib,
namespace,
options,
...
}:
with lib;
with lib.wyrdgard;
with lib.${namespace};
let
cfg = config.wyrdgard.system.autoUpgrade;
cfg = config.${namespace}.system.autoUpgrade;
in
{
options.wyrdgard.system.autoUpgrade = with types; {
options.${namespace}.system.autoUpgrade = with types; {
enable = mkEnableOption "Enable auto-upgrade";
time = mkOpt str "02:00" "Time to run auto-upgrade";
};