l 2 browsers: generate id with genid

This commit is contained in:
lassulus 2016-02-22 00:50:01 +01:00
parent 137306f990
commit 70b0f9c9e6

View File

@ -1,6 +1,8 @@
{ config, lib, pkgs, ... }:
let
inherit (config.krebs.lib) genid;
mainUser = config.users.extraUsers.mainUser;
createChromiumUser = name: extraGroups: packages:
{
@ -8,6 +10,7 @@ let
inherit name;
inherit extraGroups;
home = "/home/${name}";
uid = genid name;
useDefaultShell = true;
createHome = true;
};
@ -28,6 +31,7 @@ let
inherit name;
inherit extraGroups;
home = "/home/${name}";
uid = genid name;
useDefaultShell = true;
createHome = true;
};