Loading nixos/modules/services/security/kanidm.nix +10 −0 Original line number Diff line number Diff line Loading @@ -563,6 +563,16 @@ in default = null; }; imageFile = mkOption { description = '' Application image to display in the WebUI. Kanidm supports "image/jpeg", "image/png", "image/gif", "image/svg+xml", and "image/webp". The image will be uploaded each time kanidm-provision is run. ''; type = types.nullOr types.path; default = null; }; enableLocalhostRedirects = mkOption { description = "Allow localhost redirects. Only for public clients."; type = types.bool; Loading pkgs/by-name/ka/kanidm-provision/package.nix +12 −3 Original line number Diff line number Diff line Loading @@ -2,23 +2,32 @@ lib, rustPlatform, fetchFromGitHub, yq, versionCheckHook, nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "kanidm-provision"; version = "1.1.2"; version = "1.2.0"; src = fetchFromGitHub { owner = "oddlama"; repo = "kanidm-provision"; tag = "v${finalAttrs.version}"; hash = "sha256-pgPjkj0nMb5j3EvyJTTDpfmh0WigAcMzoleF5EOqBAM="; hash = "sha256-+NQJEAJ0DqKEV1cYZN7CLzGoBJNUL3SQAMmxRQG5DMI="; }; postPatch = '' tomlq -ti '.package.version = "${finalAttrs.version}"' Cargo.toml ''; useFetchCargoVendor = true; cargoHash = "sha256-kbctfPhEF1PdVLjE62GyLDzjOnZxH/kOWUS4x2vd/+8="; cargoHash = "sha256-uo/TGyfNChq/t6Dah0HhXhAwktyQk0V/wewezZuftNk="; nativeBuildInputs = [ yq # for `tomlq` ]; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; Loading Loading
nixos/modules/services/security/kanidm.nix +10 −0 Original line number Diff line number Diff line Loading @@ -563,6 +563,16 @@ in default = null; }; imageFile = mkOption { description = '' Application image to display in the WebUI. Kanidm supports "image/jpeg", "image/png", "image/gif", "image/svg+xml", and "image/webp". The image will be uploaded each time kanidm-provision is run. ''; type = types.nullOr types.path; default = null; }; enableLocalhostRedirects = mkOption { description = "Allow localhost redirects. Only for public clients."; type = types.bool; Loading
pkgs/by-name/ka/kanidm-provision/package.nix +12 −3 Original line number Diff line number Diff line Loading @@ -2,23 +2,32 @@ lib, rustPlatform, fetchFromGitHub, yq, versionCheckHook, nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "kanidm-provision"; version = "1.1.2"; version = "1.2.0"; src = fetchFromGitHub { owner = "oddlama"; repo = "kanidm-provision"; tag = "v${finalAttrs.version}"; hash = "sha256-pgPjkj0nMb5j3EvyJTTDpfmh0WigAcMzoleF5EOqBAM="; hash = "sha256-+NQJEAJ0DqKEV1cYZN7CLzGoBJNUL3SQAMmxRQG5DMI="; }; postPatch = '' tomlq -ti '.package.version = "${finalAttrs.version}"' Cargo.toml ''; useFetchCargoVendor = true; cargoHash = "sha256-kbctfPhEF1PdVLjE62GyLDzjOnZxH/kOWUS4x2vd/+8="; cargoHash = "sha256-uo/TGyfNChq/t6Dah0HhXhAwktyQk0V/wewezZuftNk="; nativeBuildInputs = [ yq # for `tomlq` ]; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; Loading