refactor: hive-forge module dir owns its theme css
This commit is contained in:
parent
7c9d72b9ca
commit
cb755b677c
4 changed files with 8 additions and 8 deletions
|
|
@ -137,7 +137,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
hive-ci = ./nix/modules/hive-ci.nix;
|
hive-ci = ./nix/modules/hive-ci.nix;
|
||||||
hive-forge = ./nix/modules/hive-forge.nix;
|
hive-forge = ./nix/modules/hive-forge;
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosConfigurations =
|
nixosConfigurations =
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
./hyperhive.nix
|
./hyperhive.nix
|
||||||
./hive-c0re
|
./hive-c0re
|
||||||
./hive-ci.nix
|
./hive-ci.nix
|
||||||
./hive-forge.nix
|
./hive-forge
|
||||||
./hive-gateway
|
./hive-gateway
|
||||||
./hive-matrix.nix
|
./hive-matrix.nix
|
||||||
./hive-network.nix
|
./hive-network.nix
|
||||||
|
|
|
||||||
|
|
@ -313,16 +313,16 @@ in
|
||||||
staticRootWithTheme = pkgs.runCommand "forgejo-static-with-theme" { } ''
|
staticRootWithTheme = pkgs.runCommand "forgejo-static-with-theme" { } ''
|
||||||
cp -r --no-preserve=mode,ownership ${cfg.package.data}/. $out/
|
cp -r --no-preserve=mode,ownership ${cfg.package.data}/. $out/
|
||||||
mkdir -p $out/public/assets/css
|
mkdir -p $out/public/assets/css
|
||||||
cp ${../forge-theme/theme-catppuccin-vibec0re.css} \
|
cp ${./theme-catppuccin-vibec0re.css} \
|
||||||
$out/public/assets/css/theme-catppuccin-vibec0re.css
|
$out/public/assets/css/theme-catppuccin-vibec0re.css
|
||||||
# Replace the default Forgejo logo + favicon with the hyperhive
|
# Replace the default Forgejo logo + favicon with the hyperhive
|
||||||
# mark. Files in public/assets/img/ are served before built-ins.
|
# mark. Files in public/assets/img/ are served before built-ins.
|
||||||
mkdir -p $out/public/assets/img
|
mkdir -p $out/public/assets/img
|
||||||
cp ${../../branding/hyperhive.svg} $out/public/assets/img/logo.svg
|
cp ${../../../branding/hyperhive.svg} $out/public/assets/img/logo.svg
|
||||||
cp ${../../branding/hyperhive.svg} $out/public/assets/img/favicon.svg
|
cp ${../../../branding/hyperhive.svg} $out/public/assets/img/favicon.svg
|
||||||
cp ${../../branding/hyperhive.png} $out/public/assets/img/logo.png
|
cp ${../../../branding/hyperhive.png} $out/public/assets/img/logo.png
|
||||||
cp ${../../branding/hyperhive.png} $out/public/assets/img/favicon.png
|
cp ${../../../branding/hyperhive.png} $out/public/assets/img/favicon.png
|
||||||
cp ${../../branding/hyperhive.png} $out/public/assets/img/avatar_default.png
|
cp ${../../../branding/hyperhive.png} $out/public/assets/img/avatar_default.png
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
Loading…
Reference in a new issue