formatting

This commit is contained in:
Osman Faruk Bayram 2025-10-21 22:03:49 +03:00
parent 228605fd02
commit 43e6317a35

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"
++ lib.optionals ]
(config.osbmModules.machineType == "desktop" || config.osbmModules.machineType == "laptop") ++ lib.optionals (
[ "bayram" ]; config.osbmModules.machineType == "desktop" || config.osbmModules.machineType == "laptop"
) [ "bayram" ];
description = "List of users to create. `osbm` is my main user, and `bayram` is for my family (only on desktop/laptop)."; description = "List of users to create. `osbm` is my main user, and `bayram` is for my family (only on desktop/laptop).";
}; };