blob: 6ea27937dbd55503d77a0d02867866b761d7a71c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{lib, ...}: let
inherit (lib) mkEnableOption mkOption types;
in {
options = {
collinux.user = {
name = mkOption {
description = "Name for the sole user of this system";
type = types.str;
default = "collin";
};
isAdmin = mkOption {
description = "Whether this user is an admin";
type = types.bool;
default = true;
};
useRun0 = mkEnableOption "whether to use systemd's run0 instead of sudo-rs";
};
};
}
|