| 
									
										
										
										
											2024-12-28 09:26:54 +00:00
										 |  |  |  | # Edit this configuration file to define what should be installed on | 
					
						
							|  |  |  |  | # your system.  Help is available in the configuration.nix(5) man page | 
					
						
							|  |  |  |  | # and in the NixOS manual (accessible by running ‘nixos-help’). | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-06-01 00:32:00 +01:00
										 |  |  |  | { inputs, pkgs, ... }: | 
					
						
							| 
									
										
										
										
											2025-04-29 14:55:08 +01:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-12-28 09:26:54 +00:00
										 |  |  |  | { | 
					
						
							| 
									
										
										
										
											2025-04-23 14:19:05 +01:00
										 |  |  |  |   imports = [ | 
					
						
							| 
									
										
										
										
											2025-06-01 00:32:00 +01:00
										 |  |  |  |     inputs.agenix.nixosModules.default | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-04-23 14:19:05 +01:00
										 |  |  |  |     ../common | 
					
						
							| 
									
										
										
										
											2024-12-28 09:26:54 +00:00
										 |  |  |  |     ./hardware-configuration.nix | 
					
						
							| 
									
										
										
										
											2025-04-30 03:09:17 +01:00
										 |  |  |  |     ./homelab.nix | 
					
						
							| 
									
										
										
										
											2025-04-23 14:19:05 +01:00
										 |  |  |  |     ./modules | 
					
						
							| 
									
										
										
										
											2025-05-04 01:36:11 +01:00
										 |  |  |  |     ./ports.nix | 
					
						
							| 
									
										
										
										
											2025-01-08 08:54:14 +00:00
										 |  |  |  |     ./secrets.nix | 
					
						
							| 
									
										
										
										
											2025-04-26 00:26:43 +01:00
										 |  |  |  |     ./services | 
					
						
							| 
									
										
										
										
											2025-04-05 09:00:00 +01:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-04-23 14:19:05 +01:00
										 |  |  |  |     ../../users/opdavies.nix | 
					
						
							| 
									
										
										
										
											2024-12-28 09:26:54 +00:00
										 |  |  |  |   ]; | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-07-09 08:00:00 +01:00
										 |  |  |  |   features = { | 
					
						
							|  |  |  |  |     cli.podman.enable = true; | 
					
						
							|  |  |  |  |   }; | 
					
						
							| 
									
										
										
										
											2025-01-08 08:54:14 +00:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-05-14 08:21:57 +01:00
										 |  |  |  |   # TODO: why didn't it work when adding this to jitsi.nix? | 
					
						
							|  |  |  |  |   nixpkgs.config.permittedInsecurePackages = [ | 
					
						
							|  |  |  |  |     "jitsi-meet-1.0.8043" | 
					
						
							|  |  |  |  |   ]; | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-01-08 08:54:14 +00:00
										 |  |  |  |   services.logind.lidSwitchExternalPower = "ignore"; | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-12-30 17:43:49 +00:00
										 |  |  |  |   boot.loader = { | 
					
						
							| 
									
										
										
										
											2025-07-09 08:00:00 +01:00
										 |  |  |  |     efi.canTouchEfiVariables = true; | 
					
						
							| 
									
										
										
										
											2024-12-30 17:43:49 +00:00
										 |  |  |  |     systemd-boot.enable = true; | 
					
						
							| 
									
										
										
										
											2024-12-28 09:26:54 +00:00
										 |  |  |  |   }; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |   networking.networkmanager.enable = true; | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-04-26 00:26:54 +01:00
										 |  |  |  |   users.users.opdavies.extraGroups = [ "media" ]; | 
					
						
							| 
									
										
										
										
											2025-04-28 12:58:12 +01:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  |   powerManagement.powertop.enable = true; | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-12-28 09:26:54 +00:00
										 |  |  |  |   users.groups.media = { }; | 
					
						
							| 
									
										
										
										
											2025-04-29 02:24:03 +01:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  |   networking.firewall.allowedTCPPorts = [ | 
					
						
							|  |  |  |  |     80 | 
					
						
							|  |  |  |  |     443 | 
					
						
							|  |  |  |  |   ]; | 
					
						
							| 
									
										
										
										
											2025-04-29 14:55:08 +01:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  |   environment.systemPackages = with pkgs; [ | 
					
						
							|  |  |  |  |     tree | 
					
						
							|  |  |  |  |     vim | 
					
						
							|  |  |  |  |   ]; | 
					
						
							| 
									
										
										
										
											2024-12-28 09:26:54 +00:00
										 |  |  |  | } |