mimir: Enable guacamole VNC server as test

This commit is contained in:
Erwin Boskma 2023-10-09 14:56:16 +02:00
parent e6af2df264
commit 6539ebc6a2
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg

View file

@ -275,25 +275,38 @@
'';
};
guacamole-server = {
enable = true;
host = "mimir.barn-beaver.ts.net";
userMappingXml = pkgs.writeText "user-mapping.xml" ''<?xml version="1.0" encoding="utf-8"?>
<user-mapping>
<authorize username="erwin" password="05b1b2006b6b346668090fb952173325" encoding="md5">
<protocol>vnc</protocol>
<param name="hostname">mimir.barn-beaver.ts.net</param>
<param name="port">5900</param>
</authorize>
</user-mapping>
'';
};
xserver = {
videoDrivers = [ "nvidia" ];
screenSection = ''
Option "metamodes" "DP-0: nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On, AllowGSYNCCompatible=On}, DP-4: nvidia-auto-select +3840+0 {ForceFullCompositionPipeline=On, AllowGSYNCCompatible=On}"
Option "TripleBuffer" "On"
'';
# screenSection = ''
# Option "metamodes" "DP-0: nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On, AllowGSYNCCompatible=On}, DP-4: nvidia-auto-select +3840+0 {ForceFullCompositionPipeline=On, AllowGSYNCCompatible=On}"
# Option "TripleBuffer" "On"
# '';
libinput = {
enable = true;
mouse = {
naturalScrolling = true;
accelSpeed = "1.0";
};
touchpad = {
naturalScrolling = true;
};
};
# libinput = {
# enable = true;
# mouse = {
# naturalScrolling = true;
# accelSpeed = "1.0";
# };
# touchpad = {
# naturalScrolling = true;
# };
# };
};
icecream.daemon = {