nix: update module
This commit is contained in:
parent
22066c0431
commit
ce29a69e08
|
@ -6,6 +6,7 @@ with lib; let
|
||||||
inherit (lib) types;
|
inherit (lib) types;
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
inherit (lib.options) mkOption mkEnableOption;
|
inherit (lib.options) mkOption mkEnableOption;
|
||||||
|
inherit (pkgs.stdenv.hostPlatform) system;
|
||||||
cfg = config.services.forcebot_rs;
|
cfg = config.services.forcebot_rs;
|
||||||
in {
|
in {
|
||||||
options.services.forcebot_rs = {
|
options.services.forcebot_rs = {
|
||||||
|
@ -15,7 +16,7 @@ in {
|
||||||
|
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
default = self.packages.${pkgs.system}.default;
|
default = inputs.self.packages.${system}.default;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue