removed VM qcow2.
This commit is contained in:
		
							parent
							
								
									80e8884ba1
								
							
						
					
					
						commit
						296fbdb3c5
					
				
					 1 changed files with 0 additions and 52 deletions
				
			
		| 
						 | 
					@ -1,52 +0,0 @@
 | 
				
			||||||
{
 | 
					 | 
				
			||||||
  inputs,
 | 
					 | 
				
			||||||
  outputs,
 | 
					 | 
				
			||||||
  configLib,
 | 
					 | 
				
			||||||
  ...
 | 
					 | 
				
			||||||
}:
 | 
					 | 
				
			||||||
inputs.nixos-generators.nixosGenerate {
 | 
					 | 
				
			||||||
  system = "x86_64-linux";
 | 
					 | 
				
			||||||
  specialArgs = {inherit inputs outputs configLib;};
 | 
					 | 
				
			||||||
  format = "qcow";
 | 
					 | 
				
			||||||
  modules = [
 | 
					 | 
				
			||||||
    inputs.home-manager.nixosModules.home-manager
 | 
					 | 
				
			||||||
    ../configs/nixos/sshd.nix
 | 
					 | 
				
			||||||
    ../configs/nixos/common.nix
 | 
					 | 
				
			||||||
    ../roles/nixos/vm.nix
 | 
					 | 
				
			||||||
    ({
 | 
					 | 
				
			||||||
      config,
 | 
					 | 
				
			||||||
      pkgs,
 | 
					 | 
				
			||||||
      configLib,
 | 
					 | 
				
			||||||
      modulesPath,
 | 
					 | 
				
			||||||
      ...
 | 
					 | 
				
			||||||
    }: {
 | 
					 | 
				
			||||||
      imports = [(modulesPath + "/profiles/qemu-guest.nix")];
 | 
					 | 
				
			||||||
      host.user = "gabe";
 | 
					 | 
				
			||||||
      host.fullName = "Gabe Venberg";
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      home-manager.users.${config.host.user} = {
 | 
					 | 
				
			||||||
        inputs,
 | 
					 | 
				
			||||||
        osConfig,
 | 
					 | 
				
			||||||
        ...
 | 
					 | 
				
			||||||
      }: {
 | 
					 | 
				
			||||||
        host = osConfig.host;
 | 
					 | 
				
			||||||
        user = {
 | 
					 | 
				
			||||||
          git = {
 | 
					 | 
				
			||||||
            profile = {
 | 
					 | 
				
			||||||
              name = config.host.fullName;
 | 
					 | 
				
			||||||
              email = "gabevenberg@gmail.com";
 | 
					 | 
				
			||||||
            };
 | 
					 | 
				
			||||||
            workProfile.enable = false;
 | 
					 | 
				
			||||||
          };
 | 
					 | 
				
			||||||
        };
 | 
					 | 
				
			||||||
        imports = [
 | 
					 | 
				
			||||||
          ../roles/home-manager/minimal-terminal.nix
 | 
					 | 
				
			||||||
          ../configs/home-manager/common.nix
 | 
					 | 
				
			||||||
          inputs.nixvim.homeManagerModules.nixvim
 | 
					 | 
				
			||||||
        ];
 | 
					 | 
				
			||||||
      };
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      system.stateVersion = "24.05";
 | 
					 | 
				
			||||||
    })
 | 
					 | 
				
			||||||
  ];
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue