diff options
| author | tv <tv@krebsco.de> | 2015-11-08 11:53:29 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2015-11-08 11:53:29 +0100 |
| commit | daa3a1eb44e77f3c8743ce90fc2d3a2adaa28745 (patch) | |
| tree | 82af46c2cf194c254053fa8510e59ebc2ba3b32b /tv/2configs/z.nix | |
| parent | f4f6ed72a6de75ae20ba5ec1388a8c71c5a124d8 (diff) | |
tv: remove legacy users
Diffstat (limited to 'tv/2configs/z.nix')
| -rw-r--r-- | tv/2configs/z.nix | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tv/2configs/z.nix b/tv/2configs/z.nix deleted file mode 100644 index 3acd168..0000000 --- a/tv/2configs/z.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ config, lib, pkgs, ... }: - -with lib; - -{ - krebs.per-user.z.packages = [ - pkgs.cr - ]; - - programs.bash.interactiveShellInit = '' - case ''${XMONAD_SPAWN_WORKSPACE-} in - za|zh|zj|zs) - exec sudo -u z -i - ;; - esac - ''; - - security.sudo.extraConfig = "tv ALL=(z) NOPASSWD: ALL"; - - users.users.z = { - extraGroups = [ - "audio" - "vboxusers" - "video" - ]; - group = "subusers"; - home = "/home/z"; - uid = 3043726074; # genid z - useDefaultShell = true; - }; -} |
