From 86c82f0ff355efb62e6c7049d1a87ef1a2322fe6 Mon Sep 17 00:00:00 2001 From: Quentin Boyer Date: Sat, 21 Dec 2024 23:45:01 +0100 Subject: [PATCH] personal-gui: Install rmview --- personal-gui/hm.nix | 9 +++++++++ personal-gui/nixos.nix | 1 + 2 files changed, 10 insertions(+) diff --git a/personal-gui/hm.nix b/personal-gui/hm.nix index 1c877ad..1cd308f 100644 --- a/personal-gui/hm.nix +++ b/personal-gui/hm.nix @@ -6,5 +6,14 @@ glaurung nur.repos.xeals.cura5 anki-bin + rmview ]; + + home.sessionVariables = { + RMVIEW_CONF = pkgs.writers.writeJSON "rmview.json" { + ssh.auth_method = "key"; + backend = "screenshare"; + orientation = "portrait"; + }; + }; } diff --git a/personal-gui/nixos.nix b/personal-gui/nixos.nix index 60df417..ac13114 100644 --- a/personal-gui/nixos.nix +++ b/personal-gui/nixos.nix @@ -2,6 +2,7 @@ { networking.firewall = { enable = true; + allowedUDPPorts = [ 5901 ]; allowedTCPPortRanges = [ { # KDE connect