dotfiles/lib/common-nix/default.nix
2024-05-08 21:05:14 +02:00

10 lines
252 B
Nix

{ lib }:
{
localconf =
let
path = "${builtins.getEnv "HOME"}/.config/mzte_localconf/opts.nix";
in
lib.optional (builtins.pathExists path) (import path);
confgenFile = path: /. + (builtins.getEnv "HOME") + "/confgenfs/${path}";
}