diff options
author | tv <tv@krebsco.de> | 2015-11-07 19:24:25 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-11-07 19:24:25 +0100 |
commit | e35e3b5eb05cea1e3c033423c2f6ee4e0a511817 (patch) | |
tree | 0dcec510dedbf504e01f9e61c6c435ee27c7b683 /tv/2configs/sub | |
parent | b6e616bb134019ef46919218b79d45af0cdb3d08 (diff) |
tv: mv user xr to sub
Diffstat (limited to 'tv/2configs/sub')
-rw-r--r-- | tv/2configs/sub/xr.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tv/2configs/sub/xr.nix b/tv/2configs/sub/xr.nix new file mode 100644 index 000000000..6c9cbb93e --- /dev/null +++ b/tv/2configs/sub/xr.nix @@ -0,0 +1,22 @@ +{ config, lib, pkgs, ... }: + +with lib; + +{ + krebs.per-user.xr.packages = [ + pkgs.cr + ]; + + security.sudo.extraConfig = "tv ALL=(xr) NOPASSWD: ALL"; + + users.users.xr = { + extraGroups = [ + "audio" + "video" + ]; + group = "subusers"; + home = "/home/xr"; + uid = 1660006127; # genid xr + useDefaultShell = true; + }; +} |