feat: intro profiles mechanism

This commit is contained in:
Luj 2024-08-14 20:23:21 +02:00
parent 9a8cded846
commit 7916dab911
Signed by: luj
GPG key ID: 6FC74C847011FD83
5 changed files with 129 additions and 9 deletions

View file

@ -1,4 +1,4 @@
{ lib, ... }:
{ lib, profiles, ... }:
{
options.machine.meta = lib.mkOption {
description = "Machine metadata";
@ -33,6 +33,10 @@
description = "tld for local addressing of the machine";
default = "luj";
};
profiles = mkOption {
description = "profiles applied to the machine";
default = with profiles; [ base ];
};
};
}