diff options
author | sterni <sternenseemann@systemli.org> | 2024-01-13T21·34+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-01-16T15·52+0000 |
commit | 889e0a0168307b6761ad963fa9931823557604ca (patch) | |
tree | aa36df2de95b3658d426a0d37c783a67ae83280d /users/sterni | |
parent | e2c79e39f00f1b882bde838ecc450d18a1807235 (diff) |
feat(sterni/ingeborg): add tv user for accessing media archive r/7390
Change-Id: I8070b44b15b585e32d4939515d742a2800a2d762 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10641 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/sterni')
-rw-r--r-- | users/sterni/machines/ingeborg/default.nix | 1 | ||||
-rw-r--r-- | users/sterni/machines/ingeborg/tv.nix | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/users/sterni/machines/ingeborg/default.nix b/users/sterni/machines/ingeborg/default.nix index 51b5fd41179d..0e5a30a7c829 100644 --- a/users/sterni/machines/ingeborg/default.nix +++ b/users/sterni/machines/ingeborg/default.nix @@ -16,6 +16,7 @@ ./http/sterni.lv.nix ./http/code.sterni.lv.nix ./http/flipdot.openlab-augsburg.de.nix + ./tv.nix # Inactive: # ./http/likely-music.sterni.lv.nix diff --git a/users/sterni/machines/ingeborg/tv.nix b/users/sterni/machines/ingeborg/tv.nix new file mode 100644 index 000000000000..016ad256ef07 --- /dev/null +++ b/users/sterni/machines/ingeborg/tv.nix @@ -0,0 +1,13 @@ +{ pkgs, ... }: + +{ + config = { + # TODO(sterni): smb or nfs may be a faster alternative? + services.openssh.allowSFTP = true; + + users.users.tv = { + group = "users"; + isNormalUser = true; + }; + }; +} |