refactor: inputs/ --> {sys,home}/
This commit is contained in:
		
							parent
							
								
									8f22a24963
								
							
						
					
					
						commit
						f77c627980
					
				
					 225 changed files with 77 additions and 88 deletions
				
			
		
							
								
								
									
										53
									
								
								sys/hosts/ookst480s/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								sys/hosts/ookst480s/default.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,53 @@
 | 
			
		|||
{ pkgs, lib, ... }:
 | 
			
		||||
 | 
			
		||||
let
 | 
			
		||||
	inherit (lib) mkDefault;
 | 
			
		||||
	key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBn3ff3HaZHIyH4K13k8Mwqu/o7jIABJ8rANK+r2PfJk";
 | 
			
		||||
in
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
	imports = [
 | 
			
		||||
		./hardware-configuration.nix
 | 
			
		||||
	];
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		systemModules.host = {
 | 
			
		||||
			name = "ookst480s";
 | 
			
		||||
			type = "laptop";
 | 
			
		||||
			function = [ "workstation" ];
 | 
			
		||||
			admin = {
 | 
			
		||||
				name = "ooks";
 | 
			
		||||
				shell = "fish";
 | 
			
		||||
				sshKey = key;
 | 
			
		||||
				homeManager = true;
 | 
			
		||||
			};
 | 
			
		||||
			hardware = {
 | 
			
		||||
				cpu.type = "intel";
 | 
			
		||||
				gpu.type = "intel";
 | 
			
		||||
				features = [
 | 
			
		||||
					"bluetooth"
 | 
			
		||||
					"backlight"
 | 
			
		||||
					"battery"
 | 
			
		||||
					"ssd"
 | 
			
		||||
					"audio"
 | 
			
		||||
					"video"
 | 
			
		||||
				];
 | 
			
		||||
				battery = {
 | 
			
		||||
					powersave = {
 | 
			
		||||
						minFreq = 800;
 | 
			
		||||
						maxFreq = 1800;
 | 
			
		||||
					};
 | 
			
		||||
					performance = {
 | 
			
		||||
						minFreq = 1800;
 | 
			
		||||
						maxFreq = 3600;
 | 
			
		||||
					};
 | 
			
		||||
				};
 | 
			
		||||
			};
 | 
			
		||||
		};
 | 
			
		||||
 | 
			
		||||
    boot = {
 | 
			
		||||
      kernelPackages = pkgs.linuxKernel.packages.linux_zen;
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
		system.stateVersion = mkDefault "23.11";
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue