this works

This commit is contained in:
Christoph Hollizeck 2024-03-22 14:39:18 +00:00
commit 851cb6fe38
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
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";};
};
}