this works

This commit is contained in:
Christoph Hollizeck 2024-03-22 14:39:18 +00:00
commit b8d59e664d
7 changed files with 433 additions and 0 deletions

View file

@ -0,0 +1,15 @@
{
lib,
config,
...
}: let
cfg = config.snowfallorg.example;
in {
options.snowfallorg.example = {
enable = lib.mkEnableOption "Snowfall Example";
};
config = lib.mkIf cfg.enable {
environment.variables = {SNOWFALLORG_EXAMPLE = "enabled";};
};
}