deduplicated host configs, defined more things in common.nix files.
This commit is contained in:
		
							parent
							
								
									fada583de6
								
							
						
					
					
						commit
						04783f1580
					
				
					 6 changed files with 24 additions and 70 deletions
				
			
		| 
						 | 
				
			
			@ -36,9 +36,16 @@
 | 
			
		|||
  };
 | 
			
		||||
 | 
			
		||||
  # packages that should be on every system.
 | 
			
		||||
  environment.systemPackages = with pkgs; [
 | 
			
		||||
    neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
 | 
			
		||||
  ];
 | 
			
		||||
  environment.systemPackages = [pkgs.neovim];
 | 
			
		||||
 | 
			
		||||
  programs.zsh.enable = lib.mkDefault true;
 | 
			
		||||
  environment.shells = lib.mkDefault [pkgs.zsh];
 | 
			
		||||
  users.users.${config.host.user} = {
 | 
			
		||||
    isNormalUser = true;
 | 
			
		||||
    description = config.host.fullName;
 | 
			
		||||
    shell = pkgs.zsh;
 | 
			
		||||
    extraGroups = ["wheel"];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  imports = [
 | 
			
		||||
    ../../modules/hostopts.nix
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue