From 889e0a0168307b6761ad963fa9931823557604ca Mon Sep 17 00:00:00 2001 From: sterni Date: Sat, 13 Jan 2024 22:34:40 +0100 Subject: feat(sterni/ingeborg): add tv user for accessing media archive Change-Id: I8070b44b15b585e32d4939515d742a2800a2d762 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10641 Reviewed-by: sterni Tested-by: BuildkiteCI Autosubmit: sterni --- users/sterni/machines/ingeborg/default.nix | 1 + users/sterni/machines/ingeborg/tv.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 users/sterni/machines/ingeborg/tv.nix 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; + }; + }; +} -- cgit 1.4.1