1
1
mirror of https://github.com/divnix/digga.git synced 2024-11-26 23:35:12 +03:00

suites: re-add rec to simplify suite definitions

This commit is contained in:
Pacman99 2021-05-15 10:31:54 -07:00
parent 00f8b477a6
commit 2ab4df3f60

View File

@ -70,7 +70,7 @@
NixOS = { };
};
profiles = [ ./profiles ./users ];
suites = { profiles, users, ... }: with profiles; {
suites = { profiles, users, ... }: with profiles; rec {
base = [ core users.nixos users.root ];
};
};
@ -79,7 +79,7 @@
modules = ./users/modules/module-list.nix;
externalModules = [ ];
profiles = [ ./users/profiles ];
suites = { profiles, ... }: with profiles; {
suites = { profiles, ... }: with profiles; rec {
base = [ direnv git ];
};
};