24 lines
518 B
Nix
24 lines
518 B
Nix
{ inputs, withSystem, ... }:
|
|
|
|
let
|
|
name = "z";
|
|
in
|
|
{
|
|
perSystem =
|
|
{ pkgs, ... }:
|
|
{
|
|
packages.${name} = inputs.${name}.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
|
};
|
|
|
|
flake.modules.homeManager.base =
|
|
{ config, pkgs, ... }:
|
|
{
|
|
home.packages = [
|
|
(withSystem pkgs.stdenv.hostPlatform.system (psArgs: psArgs.config.packages.${name}))
|
|
];
|
|
|
|
home.sessionVariables = {
|
|
ZET_DIRECTORY = "${config.home.sessionVariables.NOTES_DIRECTORY}/zet";
|
|
};
|
|
};
|
|
}
|