keycloak: Add keywind theme
This commit is contained in:
parent
c1e598e12e
commit
ccadb02ea6
1 changed files with 28 additions and 1 deletions
|
@ -1,7 +1,29 @@
|
|||
{ config, lib, ... }:
|
||||
{ pkgs, config, lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.eboskma.keycloak;
|
||||
|
||||
keywindTheme = pkgs.stdenv.mkDerivation {
|
||||
pname = "keycloak-theme-keywind";
|
||||
version = "unstable-2023-10-22";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "lukin";
|
||||
repo = "keywind";
|
||||
rev = "b1c47673ae091bc1a85a04434f2929ba5b8fa8bf";
|
||||
hash = "sha256-Y88L7oW127Fex2D33A0tMnaJtSvM7hFZkzuVXZYoBhQ=";
|
||||
};
|
||||
|
||||
doConfigure = false;
|
||||
doBuild = false;
|
||||
doCheck = false;
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp -r $src/theme/keywind/* $out/
|
||||
'';
|
||||
|
||||
};
|
||||
in
|
||||
{
|
||||
options.eboskma.keycloak = { enable = mkEnableOption "keycloak"; };
|
||||
|
@ -17,6 +39,11 @@ in
|
|||
http-port = 8081;
|
||||
proxy = "edge";
|
||||
};
|
||||
|
||||
themes = {
|
||||
keywind = keywindTheme;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
services.caddy = {
|
||||
|
|
Loading…
Reference in a new issue