From e1353ff2cfc8fddec215453ce3c40e15cf5a4793 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 17 Feb 2022 12:19:24 +0300 Subject: feat(ops/machines): Add tvl-users to sanduny.tvl.su Change-Id: I20f54f4ab298cfee91062f7bf4cdc8b0b3ccb37c Reviewed-on: https://cl.tvl.fyi/c/depot/+/5299 Tested-by: BuildkiteCI Reviewed-by: sterni Autosubmit: tazjin --- ops/machines/sanduny/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'ops/machines') diff --git a/ops/machines/sanduny/default.nix b/ops/machines/sanduny/default.nix index 6746917769..dd2885d7bb 100644 --- a/ops/machines/sanduny/default.nix +++ b/ops/machines/sanduny/default.nix @@ -9,7 +9,14 @@ _: # ignore readTree options { config, depot, lib, pkgs, ... }: +let + mod = name: depot.path + ("/ops/modules/" + name); +in { + imports = [ + (mod "tvl-users.nix") + ]; + networking = { hostName = "sanduny"; domain = "tvl.su"; @@ -33,13 +40,6 @@ _: # ignore readTree options firewall.allowedTCPPorts = [ 22 80 443 ]; }; - users.users.tazjin = { - isNormalUser = true; - extraGroups = [ "git" "wheel" ]; - shell = pkgs.fish; - openssh.authorizedKeys.keys = depot.users.tazjin.keys.all; - }; - security.sudo.wheelNeedsPassword = false; environment.systemPackages = with pkgs; [ -- cgit 1.4.1