Replace zet with the z monolith
All checks were successful
/ check (push) Successful in 48s

Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
Oliver Davies 2025-10-24 23:31:00 +01:00
parent 2783c9811d
commit a1b3975f39
6 changed files with 63 additions and 30 deletions

View file

@ -1,38 +0,0 @@
{ inputs, withSystem, ... }:
let
name = "zet";
in
{
perSystem =
{ pkgs, ... }:
{
packages.${name} = pkgs.buildGoModule {
inherit name;
runtimeInputs = with pkgs; [
git
];
src = inputs.zet;
vendorHash = "sha256-pprnK2JKmPuR3Q+F8+vMDEdowlb3oX4BOOzW8NGOqgs=";
postInstall = ''
mv $out/bin/cmd-${name} $out/bin/${name}
'';
};
};
flake.modules.homeManager.base =
{ config, pkgs, ... }:
{
home.packages = [
(withSystem pkgs.system (psArgs: psArgs.config.packages.${name}))
];
home.sessionVariables = {
ZET_DIRECTORY = "${config.home.sessionVariables.NOTES_DIRECTORY}/${name}";
};
};
}