diff options
author | tv <tv@krebsco.de> | 2016-02-21 06:56:57 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-02-21 06:56:57 +0100 |
commit | 979ed4998b06e7e53d18e9f43523ca231465d8a0 (patch) | |
tree | 9128bbafb9560eae7aa1df937da046fdf70be9c2 /tv/2configs/default.nix | |
parent | db4bc469ea0e714969ebbfdbb80b9888bb53991e (diff) |
krebs.types.user: add uid :: int
Diffstat (limited to 'tv/2configs/default.nix')
-rw-r--r-- | tv/2configs/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix index 13699a3..5a1e90b 100644 --- a/tv/2configs/default.nix +++ b/tv/2configs/default.nix @@ -40,8 +40,8 @@ with config.krebs.lib; mutableUsers = false; users = { tv = { + inherit (config.krebs.users.tv) home uid; isNormalUser = true; - uid = 1337; extraGroups = [ "tv" ]; }; }; @@ -124,7 +124,7 @@ with config.krebs.lib; 0) PS1='\[\e[1;31m\]\w\[\e[0m\] ' ;; - 1337) + ${toString config.krebs.users.tv.uid}) PS1='\[\e[1;32m\]\w\[\e[0m\] ' ;; *) |