Changing the Sway Config
This commit is contained in:
parent
deaf66ab8b
commit
12f1320b74
10 changed files with 1179 additions and 26 deletions
37
pkgs/amy-mono/default.nix
Normal file
37
pkgs/amy-mono/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue