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
				
			
		| 
						 | 
				
			
			@ -22,16 +22,11 @@ inputs.nixos-generators.nixosGenerate {
 | 
			
		|||
      imports = [(modulesPath + "/virtualisation/proxmox-lxc.nix")];
 | 
			
		||||
      proxmoxLXC.manageHostName = false;
 | 
			
		||||
      host.user = "gabe";
 | 
			
		||||
      host.fullName = "Gabe Venberg";
 | 
			
		||||
 | 
			
		||||
      users.users.root.password="nixos";
 | 
			
		||||
      programs.zsh.enable = true;
 | 
			
		||||
      environment.shells = with pkgs; [zsh];
 | 
			
		||||
      users.users.root.password = "nixos";
 | 
			
		||||
      users.users.${config.host.user} = {
 | 
			
		||||
        isNormalUser = true;
 | 
			
		||||
        description = "Gabe Venberg";
 | 
			
		||||
        shell = pkgs.zsh;
 | 
			
		||||
        extraGroups = ["wheel"];
 | 
			
		||||
        password="nixos";
 | 
			
		||||
        password = "nixos";
 | 
			
		||||
      };
 | 
			
		||||
 | 
			
		||||
      home-manager.users.${config.host.user} = {
 | 
			
		||||
| 
						 | 
				
			
			@ -43,7 +38,7 @@ inputs.nixos-generators.nixosGenerate {
 | 
			
		|||
        user = {
 | 
			
		||||
          git = {
 | 
			
		||||
            profile = {
 | 
			
		||||
              name = "Gabe Venberg";
 | 
			
		||||
              name = config.host.fullName;
 | 
			
		||||
              email = "gabevenberg@gmail.com";
 | 
			
		||||
            };
 | 
			
		||||
            workProfile.enable = false;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue