feat: vars in _module.args instead of options

This commit is contained in:
Leon Schwarzäugl 2025-07-21 22:29:45 +02:00
parent c3060b2be9
commit c5c09b0358
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
11 changed files with 437 additions and 439 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, vars, ... }:
{
options.swarselmodules.firefox = lib.mkEnableOption "firefox settings";
config = lib.mkIf config.swarselmodules.firefox {
@ -143,7 +143,7 @@
"browser.startup.homepage" = "https://lobste.rs";
};
}
config.swarselsystems.firefox;
vars.firefox;
};
};
};