diff --git a/hosts/Infini-DL360/default.nix b/hosts/Infini-DL360/default.nix index 56b5fd2..b0b8cad 100644 --- a/hosts/Infini-DL360/default.nix +++ b/hosts/Infini-DL360/default.nix @@ -34,6 +34,7 @@ ./ssh.nix ./thelounge.nix ./torrenting.nix + ./users.nix ./vaultwarden.nix ./web.nix ./wireguard.nix diff --git a/hosts/Infini-DL360/users.nix b/hosts/Infini-DL360/users.nix new file mode 100644 index 0000000..3edd0c3 --- /dev/null +++ b/hosts/Infini-DL360/users.nix @@ -0,0 +1,14 @@ +{ pkgs, ... }: + +{ + users.users.mistergij = { + description = "Account for hosting DnD World bots"; + isNormalUser = true; + shell = pkgs.bash; + }; + + services.openssh.extraConfig = '' + Match user mistergij + DisableForwarding yes + ''; +}