feat(tverskoy): enable eink tooling
Provide ddcutil and paperlike-go in $PATH. Provide the necessary udev and kernel module plumbing so they work as non-root. Icecream-Required-From: Vincent Ambo <mail@tazj.in> Change-Id: Ic9323a45cdbb75571e8f8b3aca4b9a763c271968 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3029 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
		
							parent
							
								
									48098f83c1
								
							
						
					
					
						commit
						c4c23a0715
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -50,7 +50,7 @@ in lib.fix(self: {
 | 
			
		|||
      zfs rollback -r zpool/ephemeral/home@tazjin-clean
 | 
			
		||||
    '';
 | 
			
		||||
 | 
			
		||||
    kernelModules = [ "kvm-amd" ];
 | 
			
		||||
    kernelModules = [ "kvm-amd" "i2c_dev" ];
 | 
			
		||||
    extraModulePackages = [ ];
 | 
			
		||||
    kernelPackages = nixpkgs.linuxPackages_latest;
 | 
			
		||||
    loader.systemd-boot.enable = true;
 | 
			
		||||
| 
						 | 
				
			
			@ -163,6 +163,11 @@ in lib.fix(self: {
 | 
			
		|||
    mullvad-vpn.enable = true;
 | 
			
		||||
    tlp.enable = true;
 | 
			
		||||
 | 
			
		||||
    # expose i2c device as /dev/i2c-amdgpu-dm and make it user-accessible
 | 
			
		||||
    udev.extraRules = ''
 | 
			
		||||
      SUBSYSTEM=="i2c-dev", ACTION=="add", DEVPATH=="/devices/pci0000:00/0000:00:08.1/0000:06:00.0/i2c-5/i2c-dev/i2c-5", SYMLINK+="i2c-amdgpu-dm", TAG+="uaccess"
 | 
			
		||||
    '';
 | 
			
		||||
 | 
			
		||||
    xserver = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      layout = "us";
 | 
			
		||||
| 
						 | 
				
			
			@ -227,6 +232,7 @@ in lib.fix(self: {
 | 
			
		|||
      chromium
 | 
			
		||||
      curl
 | 
			
		||||
      direnv
 | 
			
		||||
      ddcutil
 | 
			
		||||
      dnsutils
 | 
			
		||||
      emacs27-nox # emacsclient
 | 
			
		||||
      exa
 | 
			
		||||
| 
						 | 
				
			
			@ -252,6 +258,7 @@ in lib.fix(self: {
 | 
			
		|||
      openssh
 | 
			
		||||
      openssl
 | 
			
		||||
      pass
 | 
			
		||||
      paperlike-go
 | 
			
		||||
      pavucontrol
 | 
			
		||||
      pinentry
 | 
			
		||||
      pinentry-emacs
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue