Changing the Sway Config

This commit is contained in:
Lyes Saadi 2025-12-24 16:18:27 +01:00
parent deaf66ab8b
commit 12f1320b74
Signed by: lyes
GPG key ID: 55A1D803917CF39A
10 changed files with 1179 additions and 26 deletions

37
pkgs/amy-mono/default.nix Normal file
View file

@ -0,0 +1,37 @@
{
lib,
stdenvNoCC,
fetchurl,
}:
stdenvNoCC.mkDerivation {
pname = "amy-mono";
version = "0";
src = fetchurl {
name = "amy-mono";
url = "https://www.ameliathe1st.gay/docs/AmyMono-Regular.otf";
hash = "sha256-2P70KiyRZc2xYpjpdLBWgBVYIFa8XYG2YYnPhL/eBhI=";
recursiveHash = true;
downloadToTemp = true;
postFetch = ''
mkdir $out
mv $downloadedFile $out/AmyMono-Regular.otf
'';
};
unpackPhase = ":";
installPhase = ''
runHook preInstall
install -Dm644 -t "$out/share/fonts/opentype/" "$src/AmyMono-Regular.otf"
runHook postInstall
'';
meta = {
description = "Amelia's Amy Mono font";
homepage = "https://www.ameliathe1st.gay/";
license = lib.licenses.ofl; # As per our personal messages
platforms = lib.platforms.all;
};
}