Add multi-user support for package installations across various modules
Updated multiple configuration files to include a `merge` option for user management, enhancing the ability to handle multi-user setups for applications and services. This change improves flexibility in managing user-specific package installations, ensuring a more streamlined configuration process.
This commit is contained in:
@@ -42,6 +42,7 @@ in
|
||||
users = lib.mkOption {
|
||||
type = lib.types.either lib.types.str (lib.types.listOf lib.types.str);
|
||||
default = config.my.toggleUsers.apps;
|
||||
merge = inputs.self.lib.mergeUsersOption lib;
|
||||
description = "Users to install art packages for";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -23,6 +23,7 @@ in
|
||||
users = lib.mkOption {
|
||||
type = lib.types.either lib.types.str (lib.types.listOf lib.types.str);
|
||||
default = config.my.toggleUsers.apps;
|
||||
merge = inputs.self.lib.mergeUsersOption lib;
|
||||
description = "Users to install dictionaries packages for";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -28,6 +28,7 @@ in
|
||||
users = lib.mkOption {
|
||||
type = lib.types.either lib.types.str (lib.types.listOf lib.types.str);
|
||||
default = config.my.toggleUsers.apps;
|
||||
merge = inputs.self.lib.mergeUsersOption lib;
|
||||
description = "Users to install gaming packages for";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -33,6 +33,7 @@ in
|
||||
users = lib.mkOption {
|
||||
type = lib.types.either lib.types.str (lib.types.listOf lib.types.str);
|
||||
default = config.my.toggleUsers.apps;
|
||||
merge = inputs.self.lib.mergeUsersOption lib;
|
||||
description = "Users to install internet packages for";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
users = lib.mkOption {
|
||||
type = lib.types.either lib.types.str (lib.types.listOf lib.types.str);
|
||||
default = config.my.toggleUsers.apps;
|
||||
merge = inputs.self.lib.mergeUsersOption lib;
|
||||
description = "Users to install misc packages for";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -35,6 +35,7 @@ in
|
||||
users = lib.mkOption {
|
||||
type = lib.types.either lib.types.str (lib.types.listOf lib.types.str);
|
||||
default = config.my.toggleUsers.apps;
|
||||
merge = inputs.self.lib.mergeUsersOption lib;
|
||||
description = "Users to install multimedia packages for";
|
||||
};
|
||||
videoEditing = {
|
||||
@@ -42,6 +43,7 @@ in
|
||||
users = lib.mkOption {
|
||||
type = lib.types.either lib.types.str (lib.types.listOf lib.types.str);
|
||||
default = config.my.toggleUsers.apps;
|
||||
merge = inputs.self.lib.mergeUsersOption lib;
|
||||
description = "Users to install video editing packages for";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
users = lib.mkOption {
|
||||
type = lib.types.either lib.types.str (lib.types.listOf lib.types.str);
|
||||
default = config.my.toggleUsers.apps;
|
||||
merge = inputs.self.lib.mergeUsersOption lib;
|
||||
description = "Users to install piano packages for";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
users = lib.mkOption {
|
||||
type = lib.types.either lib.types.str (lib.types.listOf lib.types.str);
|
||||
default = config.my.toggleUsers.apps;
|
||||
merge = inputs.self.lib.mergeUsersOption lib;
|
||||
description = "Users to install office packages for";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user