refactor: inputs/ --> {sys,home}/
This commit is contained in:
		
							parent
							
								
									8f22a24963
								
							
						
					
					
						commit
						f77c627980
					
				
					 225 changed files with 77 additions and 88 deletions
				
			
		
							
								
								
									
										40
									
								
								sys/hosts/ooksdesk/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								sys/hosts/ooksdesk/default.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,40 @@
 | 
			
		|||
{ lib, config, inputs, pkgs, ... }:
 | 
			
		||||
 | 
			
		||||
let
 | 
			
		||||
	key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBn3ff3HaZHIyH4K13k8Mwqu/o7jIABJ8rANK+r2PfJk";
 | 
			
		||||
in
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
	imports = [
 | 
			
		||||
		./hardware-configuration.nix
 | 
			
		||||
	];
 | 
			
		||||
 | 
			
		||||
	systemModules.host = {
 | 
			
		||||
		name = "ooksdesk";
 | 
			
		||||
		type = "desktop";
 | 
			
		||||
		function = [ "workstation" "gaming" ];
 | 
			
		||||
		admin = {
 | 
			
		||||
			name = "ooks";
 | 
			
		||||
			shell = "fish";
 | 
			
		||||
			sshKey = key;
 | 
			
		||||
			homeManager = true;
 | 
			
		||||
		};
 | 
			
		||||
		hardware = {
 | 
			
		||||
			cpu.type = "amd";
 | 
			
		||||
			cpu.amd.pstate.enable = true;
 | 
			
		||||
			gpu.type = "amd";
 | 
			
		||||
			features = [ "ssd" "audio" "video" ];
 | 
			
		||||
		};
 | 
			
		||||
	};
 | 
			
		||||
  	
 | 
			
		||||
	systemModules.networking.tailscale = {
 | 
			
		||||
		enable = true;
 | 
			
		||||
		client = true;
 | 
			
		||||
	};
 | 
			
		||||
 | 
			
		||||
  boot = {
 | 
			
		||||
	  kernelPackages = pkgs.linuxPackages_xanmod_latest;
 | 
			
		||||
	};
 | 
			
		||||
 | 
			
		||||
  system.stateVersion = lib.mkDefault "23.11";
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue