Set up Atuin server and client
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
{ ... }: {
|
||||
age = {
|
||||
secrets = {
|
||||
atuin-env.file = ../../secrets/atuin-env.age;
|
||||
cache-key.file = ../../secrets/cache-key.age;
|
||||
cridycei.file = ../../secrets/cridycei.age;
|
||||
gitlab-runner.file = ../../secrets/gitlab-runner.age;
|
||||
|
@ -2,7 +2,7 @@
|
||||
networking = {
|
||||
hostName = "eve-psr-nix0";
|
||||
firewall = {
|
||||
allowedTCPPorts = [ 22 80 443 ];
|
||||
allowedTCPPorts = [ 22 80 443 7860 ];
|
||||
allowedUDPPorts = [ 22 80 443 53 1194 ];
|
||||
trustedInterfaces = [ "tun0" ];
|
||||
};
|
||||
|
@ -7,15 +7,18 @@
|
||||
|
||||
environment.systemPackages = with pkgs; [ git pciutils openvpn vim wget ];
|
||||
|
||||
programs.ssh.knownHosts = {
|
||||
selbeiskami = {
|
||||
hostNames = [ "192.168.0.57" ];
|
||||
publicKey = "192.168.0.57 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBiTyWzAu7V2Jkk4rqEjBLu+lAhhkLTO8W/PGb8HkeqQ";
|
||||
};
|
||||
matricx = {
|
||||
hostNames = [ "192.168.0.130" "matri.cx" ];
|
||||
publicKey = "matri.cx ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMyaPYK0HcKAjrD1g+FPqPEU9FJ0I6+iKYmQlWKE0zHp";
|
||||
programs = {
|
||||
ssh.knownHosts = {
|
||||
selbeiskami = {
|
||||
hostNames = [ "192.168.0.57" ];
|
||||
publicKey = "192.168.0.57 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBiTyWzAu7V2Jkk4rqEjBLu+lAhhkLTO8W/PGb8HkeqQ";
|
||||
};
|
||||
matricx = {
|
||||
hostNames = [ "192.168.0.130" "matri.cx" ];
|
||||
publicKey = "matri.cx ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMyaPYK0HcKAjrD1g+FPqPEU9FJ0I6+iKYmQlWKE0zHp";
|
||||
};
|
||||
};
|
||||
zsh.enable = true;
|
||||
};
|
||||
|
||||
time.timeZone = "America/Chicago";
|
||||
|
Reference in New Issue
Block a user