18 lines
186 B
Nix
18 lines
186 B
Nix
|
{lib, ...}:
|
||
|
|
||
|
with lib;
|
||
|
{
|
||
|
imports = [
|
||
|
./server.nix
|
||
|
./workstation.nix
|
||
|
];
|
||
|
|
||
|
options = {
|
||
|
host.role = mkOption {
|
||
|
type = types.enum [
|
||
|
"server"
|
||
|
"workstation"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|