added iceshrimp init

This commit is contained in:
twoneis 2025-03-12 23:30:57 +01:00
parent cbf8cd125f
commit 6a06290881
3 changed files with 19 additions and 0 deletions

View file

@ -15,8 +15,10 @@
blobhaj = pkgs.callPackage ./blobhaj.nix {}; blobhaj = pkgs.callPackage ./blobhaj.nix {};
blobhajFlags = pkgs.callPackage ./blobhajFlags.nix {}; blobhajFlags = pkgs.callPackage ./blobhajFlags.nix {};
favicon = pkgs.callPackage ./favicon.nix {}; favicon = pkgs.callPackage ./favicon.nix {};
iceshrimp = pkgs.callPackage ./iceshrimp/iceshrimp.nix;
in in
mkIf cfg.enable { mkIf cfg.enable {
environment.systemPackages = [iceshrimp];
services.akkoma = { services.akkoma = {
enable = true; enable = true;
frontends.primary = { frontends.primary = {

View file

@ -0,0 +1,2 @@
{...}: {
}

View file

@ -0,0 +1,15 @@
{
stdenv,
fetchFromGitea,
}: let
version = "v2025.1-beta5.patch2.security1";
in
stdenv.mkDerivation {
name = "iceshrimp";
src = fetchFromGitea {
domain = "https://iceshrimp.dev";
owner = "iceshrimp";
repo = "Iceshrimp.NET";
rev = version;
};
}