nicer versioning for easier updates i think

This commit is contained in:
twoneis 2025-03-23 22:01:12 +01:00
parent 0733f4d2d1
commit 12bc14657e
8 changed files with 68 additions and 54 deletions

View file

@ -5,8 +5,9 @@
...
}: let
inherit (lib) mkIf;
inherit (config) versions;
cfg = config.conf.fedi.iceshrimp;
iceshrimp = pkgs.callPackage ./iceshrimp.nix {};
iceshrimp = pkgs.callPackage ./iceshrimp.nix {version = versions.iceshrimp;};
in
mkIf cfg.enable {
environment.systemPackages = [iceshrimp];