diff options
author | lassulus <lass@aidsballs.de> | 2015-10-03 14:37:56 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-10-03 14:37:56 +0200 |
commit | 4cafc147f6f8fcbdf09ccc8af7deab3bb0affb94 (patch) | |
tree | 5bdb54ab09640a05720aeb8e35926f01f5961d82 /lass/2configs/browsers.nix | |
parent | 8be9a2faa1da4108fb446db8ebcfc50a68601af1 (diff) |
lass 2 browsers: style
Diffstat (limited to 'lass/2configs/browsers.nix')
-rw-r--r-- | lass/2configs/browsers.nix | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/lass/2configs/browsers.nix b/lass/2configs/browsers.nix index 47275af6f..5a1857973 100644 --- a/lass/2configs/browsers.nix +++ b/lass/2configs/browsers.nix @@ -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 = '' |