about summary refs log tree commit diff
path: root/ops/machines/sanduny
diff options
context:
space:
mode:
Diffstat (limited to 'ops/machines/sanduny')
-rw-r--r--ops/machines/sanduny/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/ops/machines/sanduny/default.nix b/ops/machines/sanduny/default.nix
index 674691776956..dd2885d7bb8a 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; [