nix-config/modules/z.nix
Oliver Davies a1b3975f39
All checks were successful
/ check (push) Successful in 48s
Replace zet with the z monolith
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-10-24 23:31:00 +01:00

24 lines
482 B
Nix

{ 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}";
};
};
}