refactor: inputs/ --> {sys,home}/
This commit is contained in:
		
							parent
							
								
									8f22a24963
								
							
						
					
					
						commit
						f77c627980
					
				
					 225 changed files with 77 additions and 88 deletions
				
			
		
							
								
								
									
										42
									
								
								home/profile/base/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								home/profile/base/default.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,42 @@
 | 
			
		|||
{ lib, config, ... }:
 | 
			
		||||
let
 | 
			
		||||
  cfg = config.profiles.base;
 | 
			
		||||
  inherit (lib) mkDefault;
 | 
			
		||||
in
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../modules
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  config = lib.mkIf cfg.enable {
 | 
			
		||||
 | 
			
		||||
    systemd.user.startServices = mkDefault "sd-switch";
 | 
			
		||||
 | 
			
		||||
    homeModules = {
 | 
			
		||||
      config = {
 | 
			
		||||
        home.enable = true;
 | 
			
		||||
        userDirs.enable = true;
 | 
			
		||||
        mimeApps.enable = true;
 | 
			
		||||
      };
 | 
			
		||||
 | 
			
		||||
      console = {
 | 
			
		||||
        editor.helix = {
 | 
			
		||||
          enable = true;
 | 
			
		||||
          default = true;
 | 
			
		||||
        };
 | 
			
		||||
        prompt.starship.enable = true;
 | 
			
		||||
        shell = {
 | 
			
		||||
          fish.enable = true;
 | 
			
		||||
          bash.enable = true;
 | 
			
		||||
        };
 | 
			
		||||
        multiplexer.zellij.enable = true;
 | 
			
		||||
        utility = {
 | 
			
		||||
          ssh.enable = true;
 | 
			
		||||
          nixIndex.enable = true;
 | 
			
		||||
          git.enable = true;
 | 
			
		||||
          tools.enable = true;
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
    };  
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue