lass 2 browsers: style
This commit is contained in:
parent
8be9a2faa1
commit
4cafc147f6
@ -6,14 +6,12 @@ let
|
|||||||
mainUser = config.users.extraUsers.mainUser;
|
mainUser = config.users.extraUsers.mainUser;
|
||||||
createChromiumUser = name: extraGroups: packages:
|
createChromiumUser = name: extraGroups: packages:
|
||||||
{
|
{
|
||||||
users.extraUsers = {
|
users.extraUsers.${name} = {
|
||||||
${name} = {
|
inherit name;
|
||||||
inherit name;
|
inherit extraGroups;
|
||||||
inherit extraGroups;
|
home = "/home/${name}";
|
||||||
home = "/home/${name}";
|
useDefaultShell = true;
|
||||||
useDefaultShell = true;
|
createHome = true;
|
||||||
createHome = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
lass.per-user.${name}.packages = packages;
|
lass.per-user.${name}.packages = packages;
|
||||||
security.sudo.extraConfig = ''
|
security.sudo.extraConfig = ''
|
||||||
@ -28,14 +26,12 @@ let
|
|||||||
|
|
||||||
createFirefoxUser = name: extraGroups: packages:
|
createFirefoxUser = name: extraGroups: packages:
|
||||||
{
|
{
|
||||||
users.extraUsers = {
|
users.extraUsers.${name} = {
|
||||||
${name} = {
|
inherit name;
|
||||||
inherit name;
|
inherit extraGroups;
|
||||||
inherit extraGroups;
|
home = "/home/${name}";
|
||||||
home = "/home/${name}";
|
useDefaultShell = true;
|
||||||
useDefaultShell = true;
|
createHome = true;
|
||||||
createHome = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
lass.per-user.${name}.packages = packages;
|
lass.per-user.${name}.packages = packages;
|
||||||
security.sudo.extraConfig = ''
|
security.sudo.extraConfig = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user