diff --git a/modules/home/personal-machine/default.nix b/modules/home/personal-machine/default.nix index 1d19d96..a5ad8ff 100644 --- a/modules/home/personal-machine/default.nix +++ b/modules/home/personal-machine/default.nix @@ -16,8 +16,10 @@ in config = mkIf cfg.enabled { programs.ssh.enable = true; programs.ssh.matchBlocks = { - proxmox = { - hostname = "proxmox.internal"; + "proxmox.*" = { + user = "root"; + }; + "opnsense.*" = { user = "root"; }; github = { @@ -42,11 +44,11 @@ in user = "chanya"; hostname = "ap.internal"; }; - "*.internal" = { - user = "nixos"; + os = { + hostname = "opnsense.local"; }; - "*.local" = { - user = "nixos"; + pm = { + hostname = "proxmox.local"; }; fc = { hostname = "fat-controller.local";