mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-06 08:47:00 +00:00
The upstream Nix UID/GID changes for Sequoia will require us to manage a group with GID 350. That will require more work on our end to ensure compatibility and a working migration path, but this is enough to allow hacking around it locally in system configurations for now.
38 lines
637 B
Nix
38 lines
637 B
Nix
{ name, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
options = {
|
|
name = mkOption {
|
|
type = types.str;
|
|
description = ''
|
|
The group's name. If undefined, the name of the attribute set
|
|
will be used.
|
|
'';
|
|
};
|
|
|
|
gid = mkOption {
|
|
type = types.int;
|
|
description = "The group's GID.";
|
|
};
|
|
|
|
members = mkOption {
|
|
type = types.listOf types.str;
|
|
default = [];
|
|
description = "The group's members.";
|
|
};
|
|
|
|
description = mkOption {
|
|
type = types.str;
|
|
default = "";
|
|
description = "The group's description.";
|
|
};
|
|
};
|
|
|
|
config = {
|
|
|
|
name = mkDefault name;
|
|
|
|
};
|
|
}
|