summaryrefslogtreecommitdiff
path: root/modules/userdata.nix
blob: 71a5a968f698778251bb39b9e28c2be6d16e2ad1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ lib, ... }:

let
  inherit (lib) mkOption types mdDoc;
in
{
  options.userdata =  {
    user = mkOption {
      type = types.str;
      default = "sinan";
      description = mdDoc "owner's username";
    };
    groups = mkOption {
      type = types.listOf types.str;
      description = mdDoc "Groups the owner should be in";
    };
  };
}