about summary refs log tree commit diff
path: root/ops/nixos/whitby
diff options
context:
space:
mode:
authormulti <depot@in-addr.xyz>2021-01-15T12·42+0000
committermulti <depot@in-addr.xyz>2021-01-15T13·06+0000
commit2fe90c34c0b5617f0a27d553604247ea667cdb82 (patch)
tree10ca975d25608e568642f226fe9b41984bbeaef6 /ops/nixos/whitby
parent4bb250b53096eac80950e7378f197b8496406022 (diff)
feat(ops/nixos/whitby): Enable remote use of whitby for my Thinkpad. r/2111
My main workstation is a Thinkpad without a great deal of compute
power available, so enabling the use of whitby as both a substituter
(services.sshServe) and a remote builder (openssh.authorizedKeys) will save me
some time when working on nix things and depot things.

Change-Id: I17bfcbb9860f42fb667603ad819e38e82e6052da
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2399
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: lukegb <lukegb@tvl.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops/nixos/whitby')
-rw-r--r--ops/nixos/whitby/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/ops/nixos/whitby/default.nix b/ops/nixos/whitby/default.nix
index ee2c154c8e25..4210bcf57bb3 100644
--- a/ops/nixos/whitby/default.nix
+++ b/ops/nixos/whitby/default.nix
@@ -174,7 +174,8 @@ in lib.fix(self: {
       keys = with depot.users;
         tazjin.keys.all
         ++ lukegb.keys.all
-        ++ [ glittershark.keys.whitby ];
+        ++ [ glittershark.keys.whitby ]
+        ++ multi.keys.whitbyNix;
     };
   };
 
@@ -415,7 +416,7 @@ in lib.fix(self: {
     users.multi = {
       isNormalUser = true;
       extraGroups = [ "git" ];
-      openssh.authorizedKeys.keys = depot.users.multi.keys.whitby;
+      openssh.authorizedKeys.keys = depot.users.multi.keys.whitbyLogin;
     };
 
     users.eta = {