[OpenRGB] Fix
This commit is contained in:
		
							parent
							
								
									0d72ee0c84
								
							
						
					
					
						commit
						fb66f46e02
					
				
					 5 changed files with 1121 additions and 12 deletions
				
			
		
							
								
								
									
										18
									
								
								nixos/flake.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										18
									
								
								nixos/flake.lock
									
										
									
										generated
									
									
									
								
							|  | @ -62,11 +62,11 @@ | ||||||
|     }, |     }, | ||||||
|     "nixpkgs": { |     "nixpkgs": { | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1698288402, |         "lastModified": 1698434055, | ||||||
|         "narHash": "sha256-jIIjApPdm+4yt8PglX8pUOexAdEiAax/DXW3S/Mb21E=", |         "narHash": "sha256-Phxi5mUKSoL7A0IYUiYtkI9e8NcGaaV5PJEaJApU1Ko=", | ||||||
|         "owner": "NixOS", |         "owner": "NixOS", | ||||||
|         "repo": "nixpkgs", |         "repo": "nixpkgs", | ||||||
|         "rev": "60b9db998f71ea49e1a9c41824d09aa274be1344", |         "rev": "1a3c95e3b23b3cdb26750621c08cc2f1560cb883", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|  | @ -77,11 +77,11 @@ | ||||||
|     }, |     }, | ||||||
|     "nixpkgs-stable": { |     "nixpkgs-stable": { | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1697929210, |         "lastModified": 1698544399, | ||||||
|         "narHash": "sha256-RkQZif6QhswEwv7484mrKfIU8XmIWm+ED6llbr4IyxM=", |         "narHash": "sha256-vhRmPyEyoPkrXF2iykBsWHA05MIaOSmMRLMF7Hul6+s=", | ||||||
|         "owner": "NixOS", |         "owner": "NixOS", | ||||||
|         "repo": "nixpkgs", |         "repo": "nixpkgs", | ||||||
|         "rev": "fb000224952bf7749a9e8b3779104ef7ea4465c8", |         "rev": "d87c5d8c41c9b3b39592563242f3a448b5cc4bc9", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|  | @ -125,11 +125,11 @@ | ||||||
|         "nixpkgs-stable": "nixpkgs-stable" |         "nixpkgs-stable": "nixpkgs-stable" | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1698273636, |         "lastModified": 1698548647, | ||||||
|         "narHash": "sha256-swsqg/ckSVJnravx7ie9NFQSKIH27owtlk0wh4+xStk=", |         "narHash": "sha256-7c03OjBGqnwDW0FBaBc+NjfEBxMkza+dxZGJPyIzfFE=", | ||||||
|         "owner": "Mic92", |         "owner": "Mic92", | ||||||
|         "repo": "sops-nix", |         "repo": "sops-nix", | ||||||
|         "rev": "014e44d334a39481223a5d163530d4c4ca2e75cb", |         "rev": "632c3161a6cc24142c8e3f5529f5d81042571165", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|  |  | ||||||
|  | @ -6,6 +6,14 @@ in { | ||||||
|   options.sisyphus.services.openrgb.enable = lib.mkEnableOption "OpenRGB"; |   options.sisyphus.services.openrgb.enable = lib.mkEnableOption "OpenRGB"; | ||||||
| 
 | 
 | ||||||
|   config = lib.mkIf cfg.enable { |   config = lib.mkIf cfg.enable { | ||||||
|  |     services.udev.packages = with pkgs; [ | ||||||
|  |       openrgb | ||||||
|  |     ]; | ||||||
|  | 
 | ||||||
|  |     boot.kernelModules = [ "i2c-dev" ]; | ||||||
|  | 
 | ||||||
|  |     hardware.i2c.enable = true; | ||||||
|  | 
 | ||||||
|     services.hardware.openrgb = { |     services.hardware.openrgb = { | ||||||
|       enable = true; |       enable = true; | ||||||
|       package = pkgs.openrgb-with-all-plugins; |       package = pkgs.openrgb-with-all-plugins; | ||||||
|  |  | ||||||
|  | @ -26,13 +26,15 @@ in { | ||||||
|             enable = (builtins.elem pkgs-unstable.mpv installedPkgs); |             enable = (builtins.elem pkgs-unstable.mpv installedPkgs); | ||||||
|             source = ../../../stow/mpv/.config/mpv; |             source = ../../../stow/mpv/.config/mpv; | ||||||
|           }; |           }; | ||||||
|           ".ssh/config" = lib.mkIf config.sisyphus.programs.ssh.enable { |           ".config/OpenRGB" = { | ||||||
|             source = ../../../stow/ssh/.ssh/config; |             enable = config.sisyphus.services.openrgb.enable; | ||||||
|  |             source = ../../../stow/openrgb/.config/OpenRGB; | ||||||
|  |             recursive = true; | ||||||
|           }; |           }; | ||||||
|           ".config/vifm" = { |           ".config/vifm" = { | ||||||
|             enable = (builtins.elem pkgs.vifm installedPkgs); |             enable = (builtins.elem pkgs.vifm installedPkgs); | ||||||
|             source = ../../../stow/vifm/.config/vifm; |             source = ../../../stow/vifm/.config/vifm; | ||||||
|             recursive = true; |             recursive = true; # Fix history and all working | ||||||
|           }; |           }; | ||||||
|           ".config/zellij" = { |           ".config/zellij" = { | ||||||
|             enable = (builtins.elem pkgs.zellij installedPkgs); |             enable = (builtins.elem pkgs.zellij installedPkgs); | ||||||
|  | @ -47,6 +49,9 @@ in { | ||||||
|             enable = (builtins.elem pkgs.zsh installedPkgs); |             enable = (builtins.elem pkgs.zsh installedPkgs); | ||||||
|             source = ../../../stow/zsh/.oh-my-zsh/themes/tdpeuter.zsh-theme; |             source = ../../../stow/zsh/.oh-my-zsh/themes/tdpeuter.zsh-theme; | ||||||
|           }; |           }; | ||||||
|  |           ".ssh/config" = lib.mkIf config.sisyphus.programs.ssh.enable { | ||||||
|  |             source = ../../../stow/ssh/.ssh/config; | ||||||
|  |           }; | ||||||
|           ".vim" = { |           ".vim" = { | ||||||
|             enable = (builtins.elem pkgs.vim installedPkgs); |             enable = (builtins.elem pkgs.vim installedPkgs); | ||||||
|             source = ../../../stow/vim/.vim; |             source = ../../../stow/vim/.vim; | ||||||
|  |  | ||||||
							
								
								
									
										
											BIN
										
									
								
								stow/openrgb/.config/OpenRGB/Default.orp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								stow/openrgb/.config/OpenRGB/Default.orp
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										1096
									
								
								stow/openrgb/.config/OpenRGB/OpenRGB.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1096
									
								
								stow/openrgb/.config/OpenRGB/OpenRGB.json
									
										
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue