updates
This commit is contained in:
parent
7e7d275411
commit
87ffa71fe4
8 changed files with 308 additions and 378 deletions
|
@ -61,7 +61,7 @@ in {
|
|||
gitMinimal
|
||||
gnused
|
||||
jq
|
||||
nixUnstable
|
||||
nix
|
||||
nodejs
|
||||
statix
|
||||
vault
|
||||
|
|
|
@ -59,7 +59,7 @@ in
|
|||
"REPO_INDEXER_EXCLUDE" = "node_modules/**";
|
||||
};
|
||||
ui = {
|
||||
"THEMES" = "forgejo-auto,forgejo-light,forgejo-dark,auto,gitea,arc-green,agatheme";
|
||||
"THEMES" = "forgejo-auto,forgejo-light,forgejo-dark,auto,gitea,arc-green";
|
||||
"DEFAULT_THEME" = "forgejo-auto";
|
||||
"USE_SERVICE_WORKER" = true;
|
||||
};
|
||||
|
@ -96,10 +96,10 @@ in
|
|||
group = "gitea";
|
||||
};
|
||||
|
||||
system.activationScripts.gitea-theme =
|
||||
let target_dir = "${config.services.gitea.stateDir}/custom/public/css/";
|
||||
in lib.stringAfter [ "var" ] ''
|
||||
mkdir -p ${target_dir}
|
||||
ln -sf ${pkgs.v.gitea-agatheme} "${target_dir}/theme-agatheme.css"
|
||||
'';
|
||||
# system.activationScripts.gitea-theme =
|
||||
# let target_dir = "${config.services.gitea.stateDir}/custom/public/css/";
|
||||
# in lib.stringAfter [ "var" ] ''
|
||||
# mkdir -p ${target_dir}
|
||||
# ln -sf ${pkgs.v.gitea-agatheme} "${target_dir}/theme-agatheme.css"
|
||||
# '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue