push new config
Signed-off-by: Jo <johannesreckers2006@gmail.com>
This commit is contained in:
		
							parent
							
								
									23635a9bda
								
							
						
					
					
						commit
						1defa37a73
					
				
					 11 changed files with 534 additions and 69 deletions
				
			
		
							
								
								
									
										48
									
								
								modules/home/development/ssh/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								modules/home/development/ssh/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,48 @@ | |||
| { | ||||
|   lib, | ||||
|   pkgs, | ||||
|   inputs, | ||||
| 
 | ||||
|   namespace, # The flake namespace, set in flake.nix. If not set, defaults to "internal". | ||||
|   home, # The home architecture for this host (eg. `x86_64-linux`). | ||||
|   target, # The Snowfall Lib target for this home (eg. `x86_64-home`). | ||||
|   format, # A normalized name for the home target (eg. `home`). | ||||
|   virtual, # A boolean to determine whether this home is a virtual target using nixos-generators. | ||||
|   host, # The host name for this home. | ||||
| 
 | ||||
|   config, | ||||
|   ... | ||||
| }: let | ||||
|   sshDir = "${config.home.homeDirectory}/.ssh"; | ||||
| in { | ||||
|   home.packages = with pkgs; [ | ||||
|     openssh | ||||
|   ]; | ||||
| 
 | ||||
|   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"; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
							
								
								
									
										25
									
								
								modules/home/themes/catppuccin/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								modules/home/themes/catppuccin/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,25 @@ | |||
| { | ||||
|   lib, | ||||
|   pkgs, | ||||
|   inputs, | ||||
| 
 | ||||
|   namespace, # The flake namespace, set in flake.nix. If not set, defaults to "internal". | ||||
|   home, # The home architecture for this host (eg. `x86_64-linux`). | ||||
|   target, # The Snowfall Lib target for this home (eg. `x86_64-home`). | ||||
|   format, # A normalized name for the home target (eg. `home`). | ||||
|   virtual, # A boolean to determine whether this home is a virtual target using nixos-generators. | ||||
|   host, # The host name for this home. | ||||
| 
 | ||||
|   config, | ||||
|   ... | ||||
| }: { | ||||
|   catppuccin = { | ||||
|     enable = true; | ||||
|     accent = "blue"; | ||||
|     flavor = "frappe"; | ||||
| 
 | ||||
|     pointerCursor.enable = true; | ||||
|     pointerCursor.accent = "blue"; | ||||
|     pointerCursor.flavor = "frappe"; | ||||
|   }; | ||||
| } | ||||
							
								
								
									
										54
									
								
								modules/home/themes/catppuccin/gnome/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								modules/home/themes/catppuccin/gnome/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,54 @@ | |||
| { | ||||
|   lib, | ||||
|   pkgs, | ||||
|   inputs, | ||||
| 
 | ||||
|   namespace, # The flake namespace, set in flake.nix. If not set, defaults to "internal". | ||||
|   home, # The home architecture for this host (eg. `x86_64-linux`). | ||||
|   target, # The Snowfall Lib target for this home (eg. `x86_64-home`). | ||||
|   format, # A normalized name for the home target (eg. `home`). | ||||
|   virtual, # A boolean to determine whether this home is a virtual target using nixos-generators. | ||||
|   host, # The host name for this home. | ||||
| 
 | ||||
|   config, | ||||
|   ... | ||||
| }: { | ||||
|   gtk = { | ||||
|     enable = true; | ||||
| 
 | ||||
|     font = { | ||||
|       name = "Cantarell"; | ||||
|       size = 12; | ||||
|       package = pkgs.cantarell-fonts; | ||||
|     }; | ||||
| 
 | ||||
|     catppuccin = { | ||||
|       icon = { | ||||
|         enable = true; | ||||
|         accent = "blue"; | ||||
|         flavor = "frappe"; | ||||
|       }; | ||||
|     }; | ||||
| 
 | ||||
|     theme = { | ||||
|       name = "Colloid-Dark-Catppuccin"; | ||||
|       package = pkgs.colloid-gtk-theme.override { | ||||
|         themeVariants = ["default"]; | ||||
|         colorVariants = ["dark"]; | ||||
|         sizeVariants = ["standard"]; | ||||
|         tweaks = ["catppuccin"]; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   dconf.settings = { | ||||
|     "org/gnome/desktop/background" = { | ||||
|       picture-uri = lib.snowfall.fs.get-file "resources/wallpapers/pond_sidewalk_dusk.jpg"; | ||||
|       picture-uri-dark = lib.snowfall.fs.get-file "resources/wallpapers/pond_sidewalk_dusk.jpg"; | ||||
|     }; | ||||
| 
 | ||||
|     "org/gnome/shell/extensions/user-theme" = { | ||||
|       name = "Colloid-Dark-Catppuccin"; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue