feat(ooksphone): move home configuration to its own module
This commit is contained in:
		
							parent
							
								
									b0d544d53d
								
							
						
					
					
						commit
						44894ded29
					
				
					 2 changed files with 17 additions and 10 deletions
				
			
		
							
								
								
									
										16
									
								
								home/user/ooks/ooksphone/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								home/user/ooks/ooksphone/default.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,16 @@
 | 
				
			||||||
 | 
					{ inputs, outputs, config, ... }:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  imports = [
 | 
				
			||||||
 | 
					    ../../../modules
 | 
				
			||||||
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  homeModules = {
 | 
				
			||||||
 | 
					    console.editor.helix.enable = true;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  home.sessionVariables.HN = "ooksphone";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  home.stateVersion = "23.11";
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -32,15 +32,6 @@
 | 
				
			||||||
  home-manager = {
 | 
					  home-manager = {
 | 
				
			||||||
    backupFileExtension = "hm-bak";
 | 
					    backupFileExtension = "hm-bak";
 | 
				
			||||||
    useGlobalPkgs = true;
 | 
					    useGlobalPkgs = true;
 | 
				
			||||||
 | 
					    config = import ../../../home/user/ooks/ooksphone;
 | 
				
			||||||
    config =
 | 
					 | 
				
			||||||
      { config, lib, pkgs, ... }:
 | 
					 | 
				
			||||||
      {
 | 
					 | 
				
			||||||
        imports = [ ../../../home/modules/console/editor ];
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        homeModules.home.console.editor.helix.enable = true;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        home.stateVersion = "23.11";
 | 
					 | 
				
			||||||
      };
 | 
					 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue