diff --git a/home/personal.nix b/home/personal.nix index a62dbb8..60eb787 100644 --- a/home/personal.nix +++ b/home/personal.nix @@ -55,7 +55,7 @@ enableGiteaPrivate = true; # Work-specific hosts disabled on personal machine enableGitHubZeronorth = false; - enableCoder = false; + enableCoder = true; }; # ========================================================================== diff --git a/hosts/personal/default.nix b/hosts/personal/default.nix index 1fd6de8..81d3988 100644 --- a/hosts/personal/default.nix +++ b/hosts/personal/default.nix @@ -34,6 +34,10 @@ users.users.${username} = { name = username; home = "/Users/${username}"; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFaIAP/ZJ7+7jeR44e1yIJjfQAB6MN351LDKJAXVF62P" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILAzuPy7D/54GxMq9Zhz0CUjaDnEQ6RkQ/yqVYl7U55k" + ]; }; # System-level programs @@ -53,4 +57,4 @@ # Used for backwards compatibility, read the changelog before changing. # $ darwin-rebuild changelog system.stateVersion = 5; -} \ No newline at end of file +} diff --git a/modules/home/ssh.nix b/modules/home/ssh.nix index 7c1feef..2e9c430 100644 --- a/modules/home/ssh.nix +++ b/modules/home/ssh.nix @@ -119,6 +119,42 @@ in { identityFile = cfg.githubZeronorthKeyPath; identitiesOnly = true; }; + + # Docker server + "docker.host" = { + hostname = "docker.olsen.cloud"; + user = "alice"; + port = 22; + identityFile = cfg.githubPrivateKeyPath; + identitiesOnly = true; + }; + + # NAS server + "nas.host" = { + hostname = "192.168.20.106"; + user = "morten"; + port = 22; + identityFile = cfg.githubPrivateKeyPath; + identitiesOnly = true; + }; + + # Private MacBook + "macbook.host" = { + hostname = "192.168.3.9"; + user = "morten"; + port = 22; + identityFile = cfg.githubPrivateKeyPath; + identitiesOnly = true; + }; + + # ZN MacBook + "zn.host" = { + hostname = "192.168.3.3"; + user = "morten"; + port = 22; + identityFile = cfg.githubPrivateKeyPath; + identitiesOnly = true; + }; # Coder hosts (for remote development environments) "coder.*" = mkIf cfg.enableCoder { @@ -149,4 +185,4 @@ in { # These public key files are used for IdentityFile references. # The public keys tell SSH which key to request from the 1Password agent. }; -} \ No newline at end of file +}