diff options
author | lassulus <lass@aidsballs.de> | 2016-02-22 00:50:01 +0100 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-02-22 00:50:01 +0100 |
commit | 70b0f9c9e6205d0ec59c9d84f7e1e518ad68e61e (patch) | |
tree | 189b2111979b26b739e7b8aebc4c99f74ebb430c /lass/2configs/browsers.nix | |
parent | 137306f990e866fff93e8d908641f65c421db184 (diff) |
l 2 browsers: generate id with genid
Diffstat (limited to 'lass/2configs/browsers.nix')
-rw-r--r-- | lass/2configs/browsers.nix | 4 |
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; }; |