Loading nixos/modules/services/misc/sourcehut/default.nix +10 −1 Original line number Diff line number Diff line { config, pkgs, lib, ... }: with lib; let inherit (builtins) head tail; inherit (lib) generators maintainers types; inherit (lib.attrsets) attrValues filterAttrs mapAttrs mapAttrsToList recursiveUpdate; inherit (lib.lists) flatten optional optionals; inherit (lib.options) literalExpression mkEnableOption mkOption; inherit (lib.strings) concatMapStringsSep concatStringsSep optionalString versionOlder; inherit (lib.trivial) mapNullable; inherit (lib.modules) mkBefore mkDefault mkForce mkIf mkMerge mkRemovedOptionModule mkRenamedOptionModule; inherit (config.services) nginx postfix postgresql redis; inherit (config.users) users groups; cfg = config.services.sourcehut; Loading nixos/modules/services/misc/sourcehut/service.nix +6 −1 Original line number Diff line number Diff line Loading @@ -11,8 +11,13 @@ srv: }: { config, lib, pkgs, ... }: with lib; let inherit (lib) types; inherit (lib.attrsets) mapAttrs optionalAttrs; inherit (lib.lists) optional; inherit (lib.modules) mkBefore mkDefault mkForce mkIf mkMerge; inherit (lib.options) mkEnableOption mkOption; inherit (lib.strings) concatStringsSep hasSuffix optionalString; inherit (config.services) postgresql; redis = config.services.redis.servers."sourcehut-${srvsrht}"; inherit (config.users) users; Loading Loading
nixos/modules/services/misc/sourcehut/default.nix +10 −1 Original line number Diff line number Diff line { config, pkgs, lib, ... }: with lib; let inherit (builtins) head tail; inherit (lib) generators maintainers types; inherit (lib.attrsets) attrValues filterAttrs mapAttrs mapAttrsToList recursiveUpdate; inherit (lib.lists) flatten optional optionals; inherit (lib.options) literalExpression mkEnableOption mkOption; inherit (lib.strings) concatMapStringsSep concatStringsSep optionalString versionOlder; inherit (lib.trivial) mapNullable; inherit (lib.modules) mkBefore mkDefault mkForce mkIf mkMerge mkRemovedOptionModule mkRenamedOptionModule; inherit (config.services) nginx postfix postgresql redis; inherit (config.users) users groups; cfg = config.services.sourcehut; Loading
nixos/modules/services/misc/sourcehut/service.nix +6 −1 Original line number Diff line number Diff line Loading @@ -11,8 +11,13 @@ srv: }: { config, lib, pkgs, ... }: with lib; let inherit (lib) types; inherit (lib.attrsets) mapAttrs optionalAttrs; inherit (lib.lists) optional; inherit (lib.modules) mkBefore mkDefault mkForce mkIf mkMerge; inherit (lib.options) mkEnableOption mkOption; inherit (lib.strings) concatStringsSep hasSuffix optionalString; inherit (config.services) postgresql; redis = config.services.redis.servers."sourcehut-${srvsrht}"; inherit (config.users) users; Loading