From c5c344855d735f83ce916ae0f790ee08f7ad5e6c Mon Sep 17 00:00:00 2001 From: Alex van de Sandt Date: Wed, 20 May 2026 11:14:24 -0500 Subject: [PATCH] Silence ssh and hyprland config warnings --- desktop/hyprland.nix | 1 + ssh.nix | 38 +++++++++++++++++--------------------- 2 files changed, 18 insertions(+), 21 deletions(-) diff --git a/desktop/hyprland.nix b/desktop/hyprland.nix index 202f88b..8bec726 100644 --- a/desktop/hyprland.nix +++ b/desktop/hyprland.nix @@ -3,6 +3,7 @@ enable = true; package = null; systemd.enable = true; + configType = "hyprlang"; settings = { # monitor settings https://wiki.hypr.land/0.54.0/Configuring/Monitors/ diff --git a/ssh.nix b/ssh.nix index e69e2d3..f7907d0 100644 --- a/ssh.nix +++ b/ssh.nix @@ -1,28 +1,24 @@ -{ - config, - pkgs, - lib, - ... -}: { programs.ssh = { enable = true; enableDefaultConfig = false; - matchBlocks."15.204.234.43" = { - forwardAgent = true; - }; - matchBlocks."*" = { - identityAgent = "~/.1password/agent.sock"; - forwardAgent = false; - addKeysToAgent = "no"; - compression = false; - serverAliveInterval = 0; - serverAliveCountMax = 3; - hashKnownHosts = false; - userKnownHostsFile = "~/.ssh/known_hosts"; - controlMaster = "no"; - controlPath = "~/.ssh/master-%r@%n:%p"; - controlPersist = "no"; + settings = { + "*" = { + addKeysToAgent = "no"; + compression = false; + controlMaster = "no"; + controlPath = "~/.ssh/master-%r@%n:%p"; + controlPersist = "no"; + forwardAgent = false; + hashKnownHosts = false; + identityAgent = "~/.1password/agent.sock"; + serverAliveCountMax = 3; + serverAliveInterval = 0; + userKnownHostsFile = "~/.ssh/known_hosts"; + }; + "15.204.234.43" = { + forwardAgent = true; + }; }; }; } -- 2.51.2