dont enable bayram in userfacing machines
This commit is contained in:
parent
352e81c1b7
commit
67c1238cd5
1 changed files with 6 additions and 5 deletions
|
|
@ -27,11 +27,12 @@
|
||||||
# Users
|
# Users
|
||||||
users = lib.mkOption {
|
users = lib.mkOption {
|
||||||
type = lib.types.listOf lib.types.str;
|
type = lib.types.listOf lib.types.str;
|
||||||
default = [
|
default =
|
||||||
"osbm"
|
[ "osbm" ]
|
||||||
"bayram"
|
++ lib.optionals
|
||||||
];
|
(config.osbmModules.machineType == "desktop" || config.osbmModules.machineType == "laptop")
|
||||||
description = "List of users to create. `osbm` is my main user, and `bayram` is for my family.";
|
[ "bayram" ];
|
||||||
|
description = "List of users to create. `osbm` is my main user, and `bayram` is for my family (only on desktop/laptop).";
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultUser = lib.mkOption {
|
defaultUser = lib.mkOption {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue