mirror of
				https://github.com/Jokiller230/puzzlevision.git
				synced 2025-10-31 13:50:04 +00:00 
			
		
		
		
	[general] add work and gaming user, tweak configs
feat: added new ssh configuration modules for home-manager feat: add user work with configurations for my work environment feat: added gaming user with configuration for my gaming enviornment eg. lutris and steam Signed-off-by: Jo <johannesreckers2006@gmail.com>
This commit is contained in:
		
							parent
							
								
									75e635ad4b
								
							
						
					
					
						commit
						339bd28d1d
					
				
					 14 changed files with 280 additions and 58 deletions
				
			
		
							
								
								
									
										11
									
								
								modules/home-manager/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								modules/home-manager/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,11 @@ | |||
| { | ||||
|   themes = { | ||||
|     gruvbox = { | ||||
|       plasma = import ./themes/gruvbox/plasma.nix; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   development = { | ||||
|     ssh = import ./development/ssh.nix; | ||||
|   }; | ||||
| } | ||||
							
								
								
									
										42
									
								
								modules/home-manager/development/ssh.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								modules/home-manager/development/ssh.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,42 @@ | |||
| { | ||||
|   pkgs, | ||||
|   config, | ||||
|   ... | ||||
| }: let  | ||||
|   sshDir = "${config.home.homeDirectory}/.ssh"; | ||||
| in { | ||||
|   home.packages = with pkgs; [ | ||||
|     openssh | ||||
|   ]; | ||||
| 
 | ||||
|   services.ssh-agent.enable = true; | ||||
| 
 | ||||
|   programs.ssh = { | ||||
|     enable = true; | ||||
|     extraConfig = '' | ||||
|       AddKeysToAgent yes | ||||
|     ''; | ||||
| 
 | ||||
|     matchBlocks = { | ||||
|       "github.com" = { | ||||
|         identityFile = "${sshDir}/id_ed25519"; | ||||
|         identitiesOnly = true; | ||||
|         user = "git"; | ||||
|       }; | ||||
| 
 | ||||
| 
 | ||||
|       "gitlab.com" = { | ||||
|         identityFile = "${sshDir}/id_ed25519"; | ||||
|         identitiesOnly = true; | ||||
|         user = "git"; | ||||
|       }; | ||||
| 
 | ||||
| 
 | ||||
|       "bitbucket.org" = { | ||||
|         identityFile = "${sshDir}/id_ed25519"; | ||||
|         identitiesOnly = true; | ||||
|         user = "git"; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  | @ -1,6 +1,9 @@ | |||
| { | ||||
|   inputs, | ||||
|   pkgs, | ||||
|   outputs | ||||
|   outputs, | ||||
|   lib, | ||||
|   ... | ||||
| }: { | ||||
|   home.packages = with pkgs; [ | ||||
|     tela-icon-theme | ||||
|  |  | |||
							
								
								
									
										7
									
								
								modules/nixos/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								modules/nixos/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | |||
| { | ||||
|   desktop = { | ||||
|     kde = import ./desktop/kde.nix; | ||||
|     gnome = import ./desktop/gnome.nix; | ||||
|     cosmic = import ./desktop/cosmic.nix; | ||||
|   }; | ||||
| } | ||||
|  | @ -17,9 +17,8 @@ | |||
|   # Enable KDE-Connect | ||||
|   programs.kdeconnect.enable = true; | ||||
| 
 | ||||
|   # On-screen keyboard and automatic screen rotation dependencies | ||||
|   # On-screen keyboard dependency | ||||
|   environment.systemPackages = with pkgs; [ | ||||
|     maliit-keyboard | ||||
|     iio-sensor-proxy | ||||
|   ]; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue