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