diff --git a/hosts/Infini-DL360/default.nix b/hosts/Infini-DL360/default.nix index 4633e5d..56b5fd2 100644 --- a/hosts/Infini-DL360/default.nix +++ b/hosts/Infini-DL360/default.nix @@ -30,7 +30,6 @@ ./postgresql.nix ./privoxy.nix ./radicale.nix - ./research.nix ./searx.nix ./ssh.nix ./thelounge.nix diff --git a/hosts/Infini-DL360/research.nix b/hosts/Infini-DL360/research.nix deleted file mode 100644 index 316c21a..0000000 --- a/hosts/Infini-DL360/research.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ pkgs, ... }: - -{ - users.users.cs252 = { - description = "Guest account for CS 252 researchers"; - group = "users"; - isNormalUser = true; - shell = pkgs.bash; - }; - - services.openssh.extraConfig = '' - Match user cs252 - AuthorizedKeysFile /etc/ssh/authorized_keys.d/infinidoge /etc/ssh/authorized_keys.d/%u - DisableForwarding yes - PasswordAuthentication no - ''; - - security.pam.loginLimits = [ - { - domain = "cs252"; - item = "memlock"; - type = "-"; - value = "256000000"; - } - { - domain = "cs252"; - item = "as"; - type = "-"; - value = "256000000"; - } - ]; -}