Skip to content

Sync external monitor with built-in monitor by ddc

Notifications You must be signed in to change notification settings

pltanton/ddcsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Service to sync external monitor with laptop monitor by DDC

Requirements

  • ddcutil

Build

Just build with go: make build, binary should be in out/

Nixos installation

With flakes

# flake.nix
{

  ddcsync.url = "path:/home/anton/Workdir/ddcsync";
  ddcsync.inputs.nixpkgs.follows = "nixpkgs";

  outputs = { self, nixpkgs, home-manager, ddcsync }: {
    modules = [
      ({ pkgs, ... }: {
        nixpkgs.overlays = [ ddcsync.overlays.default ]; # To use programm as package
      })
    ];

    # To use with home-manager
    homeConfigurations."USER@HOSTNAME"= home-manager.lib.homeManagerConfiguration {
      pkgs = nixpkgs.legacyPackages.x86_64-linux;
      modules = [
        ddcsync.homeManagerModules.default
        { services.ddcsync.enable = true; }
        # ...
      ];
    };
  };

  # ...

About

Sync external monitor with built-in monitor by ddc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published