fix(tailscale): disabled the auto-connect service

This commit is contained in:
ooks-io 2024-06-17 16:40:34 +12:00
parent de551e8393
commit 0b7cd62705
3 changed files with 13 additions and 31 deletions

View file

@ -1,4 +1,4 @@
{ lib, config, pkgs, inputs, outputs, self, ... }:
{ lib, config, pkgs, inputs, outputs, self, keys, ... }:
let
cfg = config.ooknet.host.admin;
@ -12,7 +12,7 @@ in
isNormalUser = true;
shell = pkgs.${cfg.shell};
initialPassword = "password";
openssh.authorizedKeys.keys = [ "${cfg.sshKey}" ];
openssh.authorizedKeys.keys = [ (keys.users."${cfg.name}") ];
extraGroups = [
"wheel"
"video"