Compare commits

...

3 Commits

Author SHA1 Message Date
TEC 2132a10741
Update system packages 2023-11-19 02:13:08 +08:00
TEC f1e7e91c52
Update forgejo icons 2023-11-19 02:11:50 +08:00
TEC e158adb8d0
Remove debug-y lines from zsh envfile 2023-11-19 02:09:44 +08:00
8 changed files with 140 additions and 15 deletions

View File

@ -2,14 +2,16 @@
"nodes": {
"agenix": {
"inputs": {
"darwin": "darwin",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1664140963,
"narHash": "sha256-pFxDtOLduRFlol0Y4ShE+soRQX4kbhaCNBtDOvx7ykw=",
"lastModified": 1690228878,
"narHash": "sha256-9Xe7JV0krp4RJC9W9W9WutZVlw6BlHTFMiUP/k48LQY=",
"owner": "ryantm",
"repo": "agenix",
"rev": "6acb1fe5f8597d5ce63fc82bc7fcac7774b1cdf0",
"rev": "d8c973fd228949736dedf61b7f8cc1ece3236792",
"type": "github"
},
"original": {
@ -151,11 +153,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1687502512,
"narHash": "sha256-dBL/01TayOSZYxtY4cMXuNCBk8UMLoqRZA+94xiFpJA=",
"lastModified": 1691186842,
"narHash": "sha256-wxBVCvZUwq+XS4N4t9NqsHV4E64cPVqQ2fdDISpjcw0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3ae20aa58a6c0d1ca95c9b11f59a2d12eebc511f",
"rev": "18036c0be90f4e308ae3ebcab0e14aae0336fe42",
"type": "github"
},
"original": {

View File

@ -29,7 +29,7 @@
zsh
hardware-hetzner
hardened
agenix.nixosModule
agenix.nixosModules.default
forgejo
caddy
];

View File

@ -88,6 +88,6 @@
"L+ ${config.services.gitea.stateDir}/custom/public/img/favicon.svg - - - - ${./images/forgejo-icon-greentea-themed.svg}"
"L+ ${config.services.gitea.stateDir}/custom/public/img/favicon.png - - - - ${./images/forgejo-icon-greentea-themed.png}"
"L+ ${config.services.gitea.stateDir}/custom/public/img/apple-touch-icon.png - - - - ${./images/forgejo-icon-greentea-themed.png}"
"L+ ${config.services.gitea.stateDir}/custom/public/img/avatar_default.png - - - - ${./images/forgejo-icon-greentea-themed.png}"
"L+ ${config.services.gitea.stateDir}/custom/public/img/avatar_default.png - - - - ${./images/forgejo-square-greentea-themed.png}"
];
}

View File

@ -0,0 +1,126 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 212 212"
version="1.1"
id="svg18"
sodipodi:docname="forgejo-greentea-themed.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<defs
id="defs22" />
<sodipodi:namedview
id="namedview20"
pagecolor="#ffffff"
bordercolor="#999999"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="4.1509434"
inkscape:cx="134.78864"
inkscape:cy="104.55455"
inkscape:window-width="1529"
inkscape:window-height="1063"
inkscape:window-x="2611"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="g16" />
<metadata
id="metadata2">
<rdf:RDF>
<cc:Work
rdf:about="https://codeberg.org/forgejo/meta/src/branch/readme/branding#logo">
<cc:creator
rdf:resource="https://caesarschinas.com/">
<cc:attributionName>Caesar Schinas</cc:attributionName>
</cc:creator>
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<style
type="text/css"
id="style4">
circle {
fill: none;
stroke: #000;
stroke-width: 15;
}
path {
fill: none;
stroke: #000;
stroke-width: 25;
}
.orange {
stroke:#ff6600;
}
.red {
stroke:#d40000;
}
</style>
<g
transform="translate(6,6)"
id="g16">
<path
d="M58 168 v-98 a50 50 0 0 1 50-50 h20"
class="orange"
id="path6"
style="stroke:#90bf60;stroke-opacity:1" />
<path
d="M58 168 v-30 a50 50 0 0 1 50-50 h20"
class="red"
id="path8"
style="stroke:#609926;stroke-opacity:1" />
<circle
cx="142"
cy="20"
r="18"
class="orange"
id="circle10"
style="stroke:#90bf60;stroke-opacity:1" />
<circle
cx="142"
cy="88"
r="18"
class="red"
id="circle12"
style="stroke:#609926;stroke-opacity:1" />
<circle
cx="58"
cy="180"
r="18"
class="red"
id="circle14"
style="stroke:#609926;stroke-opacity:1" />
</g>
<xhtml:iframe
class="cleanslate hidden"
src="Forgejo_logo_files/commandline.html"
id="cmdline_iframe"
loading="lazy"
style="height: 0px !important;" />
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xhtml="http://www.w3.org/1999/xhtml" id="svg18" version="1.1" viewBox="0 0 212 212" width="32" height="32"><style id="style4" type="text/css">circle,path{fill:none;stroke:#000;stroke-width:15}path{stroke-width:25}.red{stroke:#d40000}</style><g id="g16" transform="translate(6 6)"><path id="path8-7" d="M21.199 93.084V66.338a44.575 44.575 0 0 1 44.575-44.575h17.83" class="red" style="fill:none;stroke:#90bf60;stroke-width:23.2393;stroke-opacity:1"/><path id="path8-3" d="M107.481 21.763h26.745a44.575 44.575 0 0 1 44.575 44.575v17.83" class="red" style="fill:none;stroke:#609926;stroke-width:23.2393;stroke-opacity:1"/><circle id="circle12-36" cx="96.085" cy="21.763" r="16.047" class="red" style="fill:none;stroke:#90bf60;stroke-width:13.9436;stroke-opacity:1"/><path id="path8-7-2" d="M178.801 106.916v26.746a44.575 44.575 0 0 1-44.575 44.575h-17.83" class="red" style="fill:none;stroke:#90bf60;stroke-width:23.2393;stroke-opacity:1"/><circle id="circle12-5" cx="96.65" cy="-178.801" r="16.047" class="red" style="fill:none;stroke:#609926;stroke-width:13.9436;stroke-opacity:1" transform="rotate(90)"/><circle id="circle12-5-7" cx="-103.35" cy="21.199" r="16.047" class="red" style="fill:none;stroke:#609926;stroke-width:13.9436;stroke-opacity:1" transform="rotate(-90)"/><path id="path8-3-0" d="M92.519 178.237H65.774a44.575 44.575 0 0 1-44.575-44.575v-17.83" class="red" style="fill:none;stroke:#609926;stroke-width:23.2393;stroke-opacity:1"/><circle id="circle12-36-1" cx="-103.915" cy="-178.237" r="16.047" class="red" style="fill:none;stroke:#90bf60;stroke-width:13.9436;stroke-opacity:1" transform="scale(-1)"/></g><xhtml:iframe id="cmdline_iframe" class="cleanslate hidden" loading="lazy" src="Forgejo_logo_files/commandline.html" style="height:0!important"/></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -7,7 +7,7 @@
The personal forge of <a href="/tec" style="color: var(--color-primary);">TEC</a>
</h1>
<div>
<img class="logo" width="120" height="120" src="{{AssetUrlPrefix}}/img/tree-gitea-themed.svg"/>
<img class="logo" width="120" height="120" src="{{AssetUrlPrefix}}/img/tree-greentea-themed.svg"/>
</div>
<h3>Thanks to Forgejo, a painless, self-hosted Git service.</h3>
<br /> <hr style="color: var(--color-primary-dark-3);" /> <br />

View File

@ -40,18 +40,14 @@ fi
. "''$Z4H"/z4h.zsh || return
setopt rcs
' > "$ZDOTDIR"/.zshenv
echo "--zshenv--"
cat "$ZDOTDIR"/.zshenv
echo '
echo '
zstyle ':z4h:' auto-update 'no'
${(lib.strings.concatMapStringsSep "\n" (plg: "z4h install " + plg) plugins)}
z4h init
${(lib.strings.concatMapStringsSep "\n" (plg: "z4h load " + plg) plugins)}
' > "''$ZDOTDIR"/.zshrc
echo "--zshrc--"
cat "$ZDOTDIR"/.zshrc
echo "--running--"
zsh -i -l -c 'exit'
sh -c 'printf "-z4h-compinit-impl\n"; sleep 1; printf "echo 2\n"' | zsh -l
'';
installPhase = ''