blob: 3b88e99eebd9b271af1662c37eedab4dbbfccb10 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{config, ...}: let
roleCmp = string: config.role.sils == string;
in {
config.sils =
if roleCmp "laptop"
then {
bluetooth.enable = true;
basesystem.enable = true;
networking.enable = true;
nix-config.enable = true;
plymouth.enable = true;
theming.enable = true;
}
else if roleCmp "vm"
then {}
else {};
}
|