aboutsummaryrefslogtreecommitdiffstats
path: root/modules/nixos/sils/roles.nix
blob: 07cd22f7aceeba5771fc9d193b632366d2077bc0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{config, ...}: let
  roleCmp = string: config.role.sils == string;
in {
  config.sils =
    if roleCmp "laptop"
    then {
      basesystem.enable = true;
      plymouth.enable = true;
      theming.enable = true;
    }
    else if roleCmp "vm"
    then {}
    else {};
}