mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-26 00:41:53 -05:00
base/nix: add nh nix helper and set $FLAKE env variable
This commit is contained in:
parent
3de76e8a6b
commit
a1c3129631
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue