| 
									
										
										
										
											2022-06-03 17:47:16 +02:00
										 |  |  | { config, ... }: | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |   imports = [ | 
					
						
							|  |  |  |     ./hardware-configuration.nix | 
					
						
							| 
									
										
										
										
											2022-06-09 23:27:03 +02:00
										 |  |  |     ./disks.nix | 
					
						
							|  |  |  |     ./dyndns.nix | 
					
						
							| 
									
										
										
										
											2023-02-23 20:02:46 +01:00
										 |  |  |     ./network.nix | 
					
						
							| 
									
										
										
										
											2022-12-03 11:59:28 +01:00
										 |  |  |     ./services.nix | 
					
						
							|  |  |  |     ./syncthing.nix | 
					
						
							| 
									
										
										
										
											2022-12-05 22:51:46 +01:00
										 |  |  |     ./system.nix | 
					
						
							| 
									
										
										
										
											2022-12-03 11:59:28 +01:00
										 |  |  |     ./wifi.nix | 
					
						
							| 
									
										
										
										
											2022-06-03 17:47:16 +02:00
										 |  |  |   ]; | 
					
						
							|  |  |  |   networking.hostName = "serverle"; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-27 22:43:06 +02:00
										 |  |  |   sops = { | 
					
						
							|  |  |  |     defaultSopsFile = ./secrets.yaml; | 
					
						
							| 
									
										
										
										
											2022-12-03 11:59:28 +01:00
										 |  |  |     # disable gpg and thereby enable age | 
					
						
							|  |  |  |     gnupg.sshKeyPaths = [ ]; | 
					
						
							| 
									
										
										
										
											2022-06-27 22:43:06 +02:00
										 |  |  |   }; | 
					
						
							| 
									
										
										
										
											2022-06-03 23:32:36 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-03 17:47:16 +02:00
										 |  |  |   # Nix | 
					
						
							|  |  |  |   nix.gc = { | 
					
						
							|  |  |  |     automatic = true; | 
					
						
							|  |  |  |     options = "--delete-older-than 30d"; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   system = { | 
					
						
							| 
									
										
										
										
											2022-12-25 12:17:43 +01:00
										 |  |  |     stateVersion = "22.11"; | 
					
						
							| 
									
										
										
										
											2022-06-03 17:47:16 +02:00
										 |  |  |     autoUpgrade.enable = true; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | } |