diff options
Diffstat (limited to 'hosts/poweredge/avidemux.nix')
| -rw-r--r-- | hosts/poweredge/avidemux.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/hosts/poweredge/avidemux.nix b/hosts/poweredge/avidemux.nix new file mode 100644 index 0000000..302f0f2 --- /dev/null +++ b/hosts/poweredge/avidemux.nix @@ -0,0 +1,18 @@ +{ config, lib, pkgs, ... }: { + # SSH forwarding + services.openssh = { + settings = { + X11Forwarding = true; + X11UseLocalhost = true; # bind forwarded displays to loopback only + }; + }; + + # sshd needs xauth to create the forwarded display's cookie + programs.ssh.setXAuthLocation = true; + + # Install avidemux and xauth + environment.systemPackages = with pkgs; [ + avidemux + xauth + ]; +} |
