base/nix: add nh nix helper and set $FLAKE env variable

This commit is contained in:
Aly Raffauf 2024-06-25 16:25:12 -04:00
parent 3de76e8a6b
commit a1c3129631

View file

@ -6,6 +6,12 @@
... ...
}: { }: {
config = lib.mkIf config.alyraffauf.base.enable { config = lib.mkIf config.alyraffauf.base.enable {
environment.variables = {
FLAKE = "github:alyraffauf/nixcfg";
};
programs.nh.enable = true;
nix = { nix = {
gc = { gc = {
automatic = true; automatic = true;