lass 2 browsers: style

This commit is contained in:
lassulus 2015-10-03 14:37:56 +02:00
parent 8be9a2faa1
commit 4cafc147f6

View File

@ -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 = ''