summaryrefslogtreecommitdiffstats
path: root/tv/2configs/sub/xr.nix
blob: 6c9cbb93e09f9507d1f3fbeeb59881a72b71fe39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
  };
}