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

24
modules/z.nix Normal file
View file

@ -0,0 +1,24 @@
{ inputs, withSystem, ... }:
let
name = "z";
in
{
perSystem =
{ pkgs, ... }:
{
packages.${name} = inputs.${name}.packages.${pkgs.system}.default;
};
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}";
};
};
}