diff --git a/modules/home/programs/graphical/ghostty/default.nix b/modules/home/programs/graphical/ghostty/default.nix index aee044a..0408970 100755 --- a/modules/home/programs/graphical/ghostty/default.nix +++ b/modules/home/programs/graphical/ghostty/default.nix @@ -16,6 +16,7 @@ in grep = "grep --color"; ssh = "TERM=xterm-256color ssh"; flush_dns = "sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder"; + hs = "kubectl exec -n headscale $(kubectl get pod -n headscale -o name) -- headscale"; }; profileExtra = '' # Source Nix daemon diff --git a/systems/aarch64-linux/lin-o1-node1/default.nix b/systems/aarch64-linux/lin-o1-node1/default.nix new file mode 100755 index 0000000..af0a400 --- /dev/null +++ b/systems/aarch64-linux/lin-o1-node1/default.nix @@ -0,0 +1,60 @@ +{ namespace, config, pkgs, lib, modulesPath, ... }: +let + inherit (lib.${namespace}) enabled; + + cfg = config.${namespace}.user; +in +{ + imports = [ + (modulesPath + "/profiles/qemu-guest.nix") + ]; + + system.stateVersion = "25.05"; + time.timeZone = "UTC"; + + boot.loader.grub = { + efiSupport = true; + efiInstallAsRemovable = true; + }; + + reichard = { + nix = enabled; + + system = { + disk = { + enable = true; + diskPath = "/dev/sda"; + }; + networking = { + enable = true; + }; + }; + + services = { + openssh = enabled; + tailscale = { + enable = true; + enableRouting = true; + }; + }; + }; + + users.users.${cfg.name} = { + openssh = { + authorizedKeys.keys = [ + # evanreichard@lin-va-mbp-personal + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILJJoyXQOv9cAjGUHrUcvsW7vY9W0PmuPMQSI9AMZvNY" + # evanreichard@mac-va-mbp-personal + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMWj6rd6uDtHj/gGozgIEgxho/vBKebgN5Kce/N6vQWV" + # evanreichard@lin-va-thinkpad + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAq5JQr/6WJMIHhR434nK95FrDmf2ApW2Ahd2+cBKwDz" + ]; + }; + }; + + environment.systemPackages = with pkgs; [ + btop + tmux + vim + ]; +} diff --git a/systems/aarch64-linux/lin-o1-node2/default.nix b/systems/aarch64-linux/lin-o1-node2/default.nix new file mode 100755 index 0000000..af0a400 --- /dev/null +++ b/systems/aarch64-linux/lin-o1-node2/default.nix @@ -0,0 +1,60 @@ +{ namespace, config, pkgs, lib, modulesPath, ... }: +let + inherit (lib.${namespace}) enabled; + + cfg = config.${namespace}.user; +in +{ + imports = [ + (modulesPath + "/profiles/qemu-guest.nix") + ]; + + system.stateVersion = "25.05"; + time.timeZone = "UTC"; + + boot.loader.grub = { + efiSupport = true; + efiInstallAsRemovable = true; + }; + + reichard = { + nix = enabled; + + system = { + disk = { + enable = true; + diskPath = "/dev/sda"; + }; + networking = { + enable = true; + }; + }; + + services = { + openssh = enabled; + tailscale = { + enable = true; + enableRouting = true; + }; + }; + }; + + users.users.${cfg.name} = { + openssh = { + authorizedKeys.keys = [ + # evanreichard@lin-va-mbp-personal + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILJJoyXQOv9cAjGUHrUcvsW7vY9W0PmuPMQSI9AMZvNY" + # evanreichard@mac-va-mbp-personal + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMWj6rd6uDtHj/gGozgIEgxho/vBKebgN5Kce/N6vQWV" + # evanreichard@lin-va-thinkpad + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAq5JQr/6WJMIHhR434nK95FrDmf2ApW2Ahd2+cBKwDz" + ]; + }; + }; + + environment.systemPackages = with pkgs; [ + btop + tmux + vim + ]; +}