diff --git a/nix/modules/customer-portal/flake-module.nix b/nix/modules/customer-portal/flake-module.nix index 781a0b4..b20496d 100755 --- a/nix/modules/customer-portal/flake-module.nix +++ b/nix/modules/customer-portal/flake-module.nix @@ -1,14 +1,14 @@ { moduleWithSystem, ... }: { flake.nixosModules.default = moduleWithSystem ( - perSystem@{ config, lib, pkgs, utils, ... }: + perSystem@{ lib, pkgs, utils, ... }: nixos@{ self, ... }: let inherit (lib) mkEnableOption mkPackageOption mkOption mkIf types; format = pkgs.formats.json {}; - cfg = config.services.amarth-customer-portal; + cfg = self.services.amarth-customer-portal; in { options.services.amarth-customer-portal = {