From cf3904423ea19c432a78a04d41118612ec2f18c6 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Sat, 29 Mar 2025 17:33:55 +0100 Subject: [PATCH 1/2] allow mutual ssh access between devices --- common.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common.nix b/common.nix index 9e74f7c..e7cee06 100644 --- a/common.nix +++ b/common.nix @@ -105,6 +105,10 @@ with builtins; { users.users.jade = { isNormalUser = true; extraGroups = ["wheel" "input" "uinput" "libvirtd" "adbusers" "dialout" "plugdev" "wireshark"]; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOaE8TFsIazpn4OnHvHcRpOFr9FfvMaWOiEjmHsmnAoE cardno:000F_70CD7D05" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILg7hhAKxIAbokHHcIj9HBgbkgoKGCG2R+gx7HZKL+iz cardno:000F_93C6A612" + ]; }; zramSwap = { From 62ea077ae974d8ce2cdb6bb1d7e952d93ee621c5 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Sat, 29 Mar 2025 17:34:20 +0100 Subject: [PATCH 2/2] more quirks (because we didn't have enough already huh) --- modules/desktop/home/niri/quirks.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/desktop/home/niri/quirks.nix b/modules/desktop/home/niri/quirks.nix index 879918a..070f2fd 100644 --- a/modules/desktop/home/niri/quirks.nix +++ b/modules/desktop/home/niri/quirks.nix @@ -1,13 +1,15 @@ -{...}: { +{pkgs, ...}: { + home.packages = [pkgs.gamescope]; programs.niri.settings = { window-rules = [ { # handle steam grabbing focus 1000 times on startup matches = [ - { - app-id = "steam"; - } + {app-id = "steam";} + ]; + excludes = [ + {title = "(Guild Wars 2)";} ]; open-focused = false; }