mirror of
				https://github.com/Jokiller230/puzzlevision.git
				synced 2025-10-30 21:30:05 +00:00 
			
		
		
		
	🐛 Tons of type and bug fixes (thanks language server for not working)
This commit is contained in:
		
							parent
							
								
									d2633457a5
								
							
						
					
					
						commit
						cc5ba78ddb
					
				
					 11 changed files with 87 additions and 25 deletions
				
			
		|  | @ -1,4 +1,8 @@ | |||
| {pkgs, ...}: { | ||||
|   imports = [ | ||||
|     ./hardware.nix | ||||
|   ]; | ||||
| 
 | ||||
|   # Setup Sops | ||||
|   sops.age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"]; | ||||
|   sops.age.keyFile = "/var/lib/sops-nix/key.txt"; | ||||
|  | @ -36,6 +40,12 @@ | |||
|         enable = true; | ||||
|         configDir = ./resources/homepage-config; | ||||
|       }; | ||||
| 
 | ||||
|       atticd = { | ||||
|         enable = true; | ||||
|         sopsFile = ./secrets/atticd.env; | ||||
|         sopsFormat = "dotenv"; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										55
									
								
								systems/x86_64-nixos/absolutesolver/hardware.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								systems/x86_64-nixos/absolutesolver/hardware.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,55 @@ | |||
| # Do not modify this file!  It was generated by ‘nixos-generate-config’ | ||||
| # and may be overwritten by future invocations.  Please make changes | ||||
| # to /etc/nixos/configuration.nix instead. | ||||
| { | ||||
|   config, | ||||
|   lib, | ||||
|   modulesPath, | ||||
|   ... | ||||
| }: { | ||||
|   imports = [ | ||||
|     (modulesPath + "/installer/scan/not-detected.nix") | ||||
|   ]; | ||||
| 
 | ||||
|   boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usbhid" "uas" "sd_mod"]; | ||||
|   boot.initrd.kernelModules = []; | ||||
|   boot.kernelModules = ["kvm-intel"]; | ||||
|   boot.extraModulePackages = []; | ||||
| 
 | ||||
|   fileSystems."/" = { | ||||
|     device = "/dev/disk/by-uuid/5d4f9f57-085f-44a0-b987-bad24ff58769"; | ||||
|     fsType = "btrfs"; | ||||
|     options = ["subvol=@"]; | ||||
|   }; | ||||
| 
 | ||||
|   fileSystems."/boot" = { | ||||
|     device = "/dev/disk/by-uuid/8D0F-2821"; | ||||
|     fsType = "vfat"; | ||||
|     options = ["fmask=0077" "dmask=0077"]; | ||||
|   }; | ||||
| 
 | ||||
|   fileSystems."/mnt/storage" = { | ||||
|     device = "/dev/disk/by-uuid/237eb43e-1e4e-4cb1-873e-6b07f1368f4f"; | ||||
|     fsType = "ext4"; | ||||
|   }; | ||||
| 
 | ||||
|   swapDevices = [ | ||||
|     {device = "/dev/disk/by-uuid/42fc926f-f066-48e8-8c07-3627b2ba3cd4";} | ||||
|   ]; | ||||
| 
 | ||||
|   # Enables DHCP on each ethernet and wireless interface. In case of scripted networking | ||||
|   # (the default) this is the recommended approach. When using systemd-networkd it's | ||||
|   # still possible to use this option, but it's recommended to use it in conjunction | ||||
|   # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. | ||||
|   networking.useDHCP = lib.mkDefault true; | ||||
|   # networking.interfaces.br-32acd0b5b342.useDHCP = lib.mkDefault true; | ||||
|   # networking.interfaces.docker0.useDHCP = lib.mkDefault true; | ||||
|   # networking.interfaces.enp1s0.useDHCP = lib.mkDefault true; | ||||
|   # networking.interfaces.veth0b3552e.useDHCP = lib.mkDefault true; | ||||
|   # networking.interfaces.veth3873910.useDHCP = lib.mkDefault true; | ||||
|   # networking.interfaces.veth9323c9b.useDHCP = lib.mkDefault true; | ||||
|   # networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true; | ||||
| 
 | ||||
|   nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; | ||||
|   hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue