l 2 browsers: generate id with genid
This commit is contained in:
parent
137306f990
commit
70b0f9c9e6
@ -1,6 +1,8 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
inherit (config.krebs.lib) genid;
|
||||||
|
|
||||||
mainUser = config.users.extraUsers.mainUser;
|
mainUser = config.users.extraUsers.mainUser;
|
||||||
createChromiumUser = name: extraGroups: packages:
|
createChromiumUser = name: extraGroups: packages:
|
||||||
{
|
{
|
||||||
@ -8,6 +10,7 @@ let
|
|||||||
inherit name;
|
inherit name;
|
||||||
inherit extraGroups;
|
inherit extraGroups;
|
||||||
home = "/home/${name}";
|
home = "/home/${name}";
|
||||||
|
uid = genid name;
|
||||||
useDefaultShell = true;
|
useDefaultShell = true;
|
||||||
createHome = true;
|
createHome = true;
|
||||||
};
|
};
|
||||||
@ -28,6 +31,7 @@ let
|
|||||||
inherit name;
|
inherit name;
|
||||||
inherit extraGroups;
|
inherit extraGroups;
|
||||||
home = "/home/${name}";
|
home = "/home/${name}";
|
||||||
|
uid = genid name;
|
||||||
useDefaultShell = true;
|
useDefaultShell = true;
|
||||||
createHome = true;
|
createHome = true;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user