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
1 changed files with 2 additions and 2 deletions

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 ];
};
};