mimir: Enable guacamole VNC server as test
This commit is contained in:
parent
e6af2df264
commit
6539ebc6a2
1 changed files with 27 additions and 14 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue