aboutsummaryrefslogtreecommitdiff
path: root/modules/user/options.nix
blob: d805bf91bd01da76ab1756dc23be67b0d3798b81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{lib, ...}: let
  inherit (lib) mkOption types;
in {
  options = {
    collinux.user = {
      name = mkOption {
        description = "Name for the sole user of this system";
        type = types.str;
      };
      isAdmin = mkOption {
        description = "Whether this user is an admin";
        type = types.bool;
        default = true;
      };
    };
  };
}