setup zerotierone and sshconfig

This commit is contained in:
Your Name 2024-04-10 17:16:42 -04:00 committed by Richie Cahill
parent 918baa6d58
commit 237abb8c51
3 changed files with 34 additions and 0 deletions

View File

@ -1,6 +1,8 @@
{ pkgs, ... }: { pkgs, ... }:
# home manager # home manager
{ {
imports = [ ./home/sshconfig.nix ];
programs.zsh.enable = true; programs.zsh.enable = true;
home = { home = {
username = "richie"; username = "richie";

View File

@ -0,0 +1,26 @@
{
config,
pkgs,
lib,
...
}:
{
programs.ssh = {
enable = true;
matchBlocks = {
jeeves = {
hostname = "192.168.90.40";
user = "richie";
identityFile = "~/.ssh/id_ed25519";
port = 629;
};
jeevesjr = {
hostname = "192.168.90.35";
user = "richie";
identityFile = "~/.ssh/id_ed25519";
port = 352;
};
};
};
}

View File

@ -15,6 +15,7 @@
networking = { networking = {
networkmanager.enable = true; networkmanager.enable = true;
hostId = "9b68eb32";
}; };
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
@ -42,6 +43,11 @@
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = true; pulse.enable = true;
}; };
zerotierone = {
enable = true;
joinNetworks = [ "e4da7455b2ae64ca" ];
};
}; };
users.users.richie = { users.users.richie = {