diff --git a/nix/modules/customer-portal/flake-module.nix b/nix/modules/customer-portal/flake-module.nix index 911c5c9..8bb6156 100755 --- a/nix/modules/customer-portal/flake-module.nix +++ b/nix/modules/customer-portal/flake-module.nix @@ -1,7 +1,6 @@ -{ moduleWithSystem, ... }: +{ self, lib, pkgs, utils, ... }: { - flake.nixosModules.default = moduleWithSystem ( - perSystem@{ self, lib, pkgs, utils, ... }: + flake.nixosModules.default = nixos@{ ... }: let inherit (lib) mkEnableOption mkPackageOption mkOption mkIf types; @@ -139,6 +138,5 @@ networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ cfg.settings.port ]; }; - } - ); + }; } \ No newline at end of file