Compare commits

...

2 commits

6 changed files with 35 additions and 2 deletions

View file

@ -5,7 +5,7 @@
./hardware-configuration
./configs
./users
./forgejo-runners
./services
];
################################################################################

View file

@ -40,7 +40,7 @@
output = "DP-3";
monitorConfig = ''
Option "PreferredMode" "1920x1080"
Option "Rotate" "right"
# Option "Rotate" "right"
'';
}
{

View file

@ -0,0 +1,6 @@
{
imports = [
./forgejo-runners
./synergy.nix
];
}

View file

@ -0,0 +1,27 @@
{ pkgs, ... }:
{
services.synergy.server = {
enable = true;
screenName = "home";
configFile = pkgs.writeText "synergy-server.conf" ''
section: screens
home:
macbook-pro:
end
section: links
home:
left = macbook-pro
macbook-pro:
right = home
end
section: options
# Включение синхронизации буфера обмена
clipboardSharing = true
# Максимальный размер данных в килобайтах
clipboardSharingSize = 2048
end
'';
};
networking.firewall.allowedTCPPorts = [ 24800 ];
}