minimalize
This commit is contained in:
parent
ca04040731
commit
301a382021
8 changed files with 13 additions and 80 deletions
1
.envrc
1
.envrc
|
@ -1 +0,0 @@
|
||||||
use flake;
|
|
2
.gitattributes
vendored
2
.gitattributes
vendored
|
@ -1,2 +0,0 @@
|
||||||
*.png !text !filter !merge !diff
|
|
||||||
*.gif !text !filter !merge !diff
|
|
14
README.md
14
README.md
|
@ -33,17 +33,3 @@ We have a module to automatically import and configure derivations as Akkoma emo
|
||||||
```
|
```
|
||||||
|
|
||||||
This module will place these packages/derivations in `services.akkoma.extraStatic."emoji/${package.name}"`, and map these prefixes to picker tabs via `services.akkoma.config.":pleroma".":emoji".groups`.
|
This module will place these packages/derivations in `services.akkoma.extraStatic."emoji/${package.name}"`, and map these prefixes to picker tabs via `services.akkoma.config.":pleroma".":emoji".groups`.
|
||||||
|
|
||||||
## Emote Packs
|
|
||||||
|
|
||||||
### Lightrunner Custom
|
|
||||||
|
|
||||||
_Used by https://sapphic.engineer and https://porcelain.doll.repair, among others._
|
|
||||||
|
|
||||||
- **Hearts** - `lightrunner-custom.hearts` - Hearts, Noegrams, and other personal bits and bobs.
|
|
||||||
- **Anime** - `lightrunner-custom.anime` - A pack of cute anime emotes
|
|
||||||
|
|
||||||
### Volpeon
|
|
||||||
|
|
||||||
- **Blobfox** - `volpeon.blobfox` - Blobfoxes
|
|
||||||
- **Neocat** - `volpeon.neocat` - Neocats
|
|
||||||
|
|
27
flake.nix
27
flake.nix
|
@ -11,21 +11,20 @@
|
||||||
akkoma = import ./akkoma.nix;
|
akkoma = import ./akkoma.nix;
|
||||||
};
|
};
|
||||||
|
|
||||||
packages = forAllSystems (system: let
|
packages = forAllSystems (system: let
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
in import ./packages.nix {
|
|
||||||
inherit pkgs inputs;
|
|
||||||
utils = import ./utils.nix { inherit pkgs; };
|
|
||||||
});
|
|
||||||
|
|
||||||
devShells = forAllSystems (system: let
|
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
|
||||||
in {
|
in {
|
||||||
default = pkgs.mkShell {
|
mkEmotePack = {
|
||||||
buildInputs = with pkgs; [
|
src,
|
||||||
bun
|
name,
|
||||||
just
|
version ? "v0.0.1",
|
||||||
];
|
convertSVGs ? false
|
||||||
|
}: pkgs.stdenvNoCC.mkDerivation {
|
||||||
|
inherit src name version;
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
cp -r $src/ $out/
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
14
packages.nix
14
packages.nix
|
@ -1,14 +0,0 @@
|
||||||
{ pkgs, utils, inputs, ... }: let
|
|
||||||
specialArgs = { inherit pkgs utils inputs; };
|
|
||||||
in {
|
|
||||||
# These are specific to the Lightrunner System instances.
|
|
||||||
lightrunner-custom = {
|
|
||||||
anime = import ./custom/anime.nix specialArgs;
|
|
||||||
hearts = import ./custom/hearts.nix specialArgs;
|
|
||||||
};
|
|
||||||
|
|
||||||
volpeon = {
|
|
||||||
blobfox = import ./volpeon/blobfox.nix specialArgs;
|
|
||||||
neocat = import ./volpeon/neocat.nix specialArgs;
|
|
||||||
};
|
|
||||||
}
|
|
14
utils.nix
14
utils.nix
|
@ -1,14 +0,0 @@
|
||||||
{ pkgs, ... }: {
|
|
||||||
mkEmotePack = {
|
|
||||||
src,
|
|
||||||
name,
|
|
||||||
version ? "v0.0.1",
|
|
||||||
convertSVGs ? false
|
|
||||||
}: pkgs.stdenvNoCC.mkDerivation {
|
|
||||||
inherit src name version;
|
|
||||||
|
|
||||||
buildPhase = ''
|
|
||||||
cp -r $src/ $out/
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
{ utils, pkgs, ... }: let
|
|
||||||
rev = "6d3bb625c795ac1bd1484d37b1e1ceb5015d624e";
|
|
||||||
in utils.mkEmotePack {
|
|
||||||
name = "volpeon-blobfox";
|
|
||||||
version = rev;
|
|
||||||
convertSVGs = true;
|
|
||||||
src = pkgs.fetchgit {
|
|
||||||
url = "https://git.vulpes.one/git/blobfox-emojis.git";
|
|
||||||
rev = rev;
|
|
||||||
hash = "sha256-IMXC4WfAIGs3Ljc+GM3/YyfE0jOyxsoRvF4LwA4AYrw=";
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,9 +0,0 @@
|
||||||
{ utils, pkgs, ... }: utils.mkEmotePack {
|
|
||||||
name = "volpeon-neocat";
|
|
||||||
version = "1.1";
|
|
||||||
unzip = true;
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "https://volpeon.ink/emojis/neocat/neocat.zip";
|
|
||||||
hash = "sha256-DZDuk0Djlax504flNWdpqAw+ROLOOVGj0ZvJLyouo7A=";
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue