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