Fix second hypervisor

This commit is contained in:
tbarnouin 2024-09-17 18:24:38 +02:00
parent 5a49882384
commit 32d95a73e1

View file

@ -20,18 +20,18 @@
in in
{ {
nixosConfigurations = { nixosConfigurations = {
nixmox-perseverance = nixpkgs.lib.nixosSystem { nixmox-curiosity = nixpkgs.lib.nixosSystem {
inherit system; inherit system;
modules = [ modules = [
./hosts/nixmox-perseverance/configuration.nix ./hosts/nixmox-curiosity/configuration.nix
{ {
networking.hostName = "nixmox-perseverance"; networking.hostName = "nixmox-curiosity";
} }
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.${username} = import ./hosts/nixmox-perseverance/home.nix; home-manager.users.${username} = import ./hosts/nixmox-curiosity/home.nix;
} }
microvm.nixosModules.host microvm.nixosModules.host
{ {
@ -71,18 +71,18 @@
inherit system; inherit system;
}; };
}; };
nixmox-curiosity = nixpkgs.lib.nixosSystem { nixmox-perseverance = nixpkgs.lib.nixosSystem {
inherit system; inherit system;
modules = [ modules = [
./hosts/nixmox-curiosity/configuration.nix ./hosts/nixmox-perseverance/configuration.nix
{ {
networking.hostName = "nixmox-curiosity"; networking.hostName = "nixmox-perseverance";
} }
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.${username} = import ./hosts/nixmox-curiosity/home.nix; home-manager.users.${username} = import ./hosts/nixmox-perseverance/home.nix;
} }
microvm.nixosModules.host microvm.nixosModules.host
{ {