2025-01-01 03:22:46 +01:00
|
|
|
{pkgs, ...}: let
|
2024-11-29 15:46:11 +01:00
|
|
|
packages = {
|
|
|
|
typst-configs = pkgs.fetchFromGitea {
|
|
|
|
domain = "forge.katzen.cafe";
|
|
|
|
owner = "schrottkatze";
|
|
|
|
repo = "typst-configs";
|
2025-01-03 17:55:34 +01:00
|
|
|
rev = "7e184eecd8c6f87c08246a0bb105867423bd4fbf"; #:REV:- rev = "%REV%";-:#
|
|
|
|
sha256 = "sha256-Lv5/DxBiG7EUgcOHPL8aqztJ97s+78TXXENB7lb1olM="; #:SHA:- sha256 = "%SHA%";-:#
|
2024-11-29 15:46:11 +01:00
|
|
|
};
|
2025-01-01 03:14:19 +01:00
|
|
|
flow = pkgs.fetchFromGitHub {
|
2024-11-29 15:46:11 +01:00
|
|
|
owner = "MultisampledNight";
|
|
|
|
repo = "flow";
|
|
|
|
rev = "f5c653c706d80145165ec684b217b803a0246e8c";
|
2025-01-01 03:14:19 +01:00
|
|
|
sha256 = "sha256-tXfogxo1DGmsrwjOhF2h+60825P6NVcgQGN6Q1tspZA=";
|
2024-11-29 15:46:11 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
mkTypstPath = name: ".local/share/typst/packages/local/${name}/0.1.0";
|
|
|
|
in {
|
|
|
|
home.file = {
|
|
|
|
typst-configs = {
|
|
|
|
target = mkTypstPath "typst-configs";
|
|
|
|
source = packages.typst-configs;
|
|
|
|
recursive = true;
|
|
|
|
};
|
|
|
|
flow = {
|
|
|
|
target = mkTypstPath "flow";
|
|
|
|
source = packages.flow;
|
|
|
|
recursive = true;
|
|
|
|
};
|
|
|
|
};
|
2025-01-01 03:22:46 +01:00
|
|
|
home.packages = [pkgs.typst];
|
2024-11-29 15:46:11 +01:00
|
|
|
}
|