dont enable bayram in userfacing machines

This commit is contained in:
Osman Faruk Bayram 2025-10-21 21:17:34 +03:00
parent 352e81c1b7
commit 67c1238cd5

View file

@ -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 {