about summary refs log tree commit diff
path: root/ops/machines
diff options
context:
space:
mode:
Diffstat (limited to 'ops/machines')
-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 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; [