summaryrefslogtreecommitdiffstats
path: root/modules/nixos/sils/meta.nix
blob: 57ef08107d867ae5887f9088ab4c2130d3082df5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{lib, ...}: let
  nullable = type: lib.types.nullOr type;
in {
  options.sils.meta = {
    bootPart = lib.mkOption {
      type = nullable lib.types.str;
      default = null;
    };
    bootstrapSystem = lib.mkEnableOption;
    globalDataDir = lib.mkOption {
      type = nullable lib.types.str;
      default = null;
    };
    hostname = lib.mkOption {
      type = nullable lib.types.str;
      default = null;
    };
    mainDisk = lib.mkOption {
      type = nullable lib.types.str;
      default = null;
    };
    rootPart = lib.mkOption {
      type = nullable lib.types.str;
      default = null;
    };
    system = lib.mkOption {
      type = nullable lib.types.str;
      default = null;
    };
  };
}