summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-02-22 00:50:01 +0100
committerlassulus <lass@aidsballs.de>2016-02-22 00:50:01 +0100
commit70b0f9c9e6205d0ec59c9d84f7e1e518ad68e61e (patch)
tree189b2111979b26b739e7b8aebc4c99f74ebb430c
parent137306f990e866fff93e8d908641f65c421db184 (diff)
l 2 browsers: generate id with genid
-rw-r--r--lass/2configs/browsers.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/lass/2configs/browsers.nix b/lass/2configs/browsers.nix
index eb764068b..34449d1d9 100644
--- a/lass/2configs/browsers.nix
+++ b/lass/2configs/browsers.nix
@@ -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;
};