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 0158f7ff06
commit 0562818aa7
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
45 changed files with 249 additions and 217 deletions

View file

@ -1,17 +1,18 @@
{
options,
config,
pkgs,
lib,
namespace,
options,
pkgs,
...
}:
with lib;
with lib.wyrdgard;
with lib.${namespace};
let
cfg = config.wyrdgard.system.fonts;
cfg = config.${namespace}.system.fonts;
in
{
options.wyrdgard.system.fonts = with types; {
options.${namespace}.system.fonts = with types; {
enable = mkBoolOpt false "Whether or not to manage fonts.";
fonts = mkOpt (listOf package) [ ] "Custom font packages to install.";
};