Skip to content

flpflan/nix-huion-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huion Linux Driver (Repackaged for NixOS)

Disclaimer

This repo is not well tested and may be broken. Use it at your own risk.

Installation

Add this repo to the inputs section of your flake.nix, then import the provided NixOS module:

{
  inputs = {
    huion-driver = {
      url = "github:flpflan/nix-huion-driver";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  outputs =
    { nixpkgs, huion-driver, ... }:
    {
      nixosConfigurations."«hostname»" = nixpkgs.lib.nixosSystem {
        system = "x86_64-linux";
        modules = [
          huion-driver.nixosModules.default
          ./configuration.nix
        ];
      };
    };
}

Configuration

Enable the Huion driver program. This will automatically add the required udev rules to your system:

{
    programs.huionDriver.enable = true;

    # Alternatively, use the CN version
    programs.huionDriver.package =
      inputs.huion-driver.packages.x86_64-linux.huionDriverCN;
}

About

Huion tablet linux driver (repackaged for NixOS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages