Compare commits

...

2 commits

Author SHA1 Message Date
22ab6fa3de rename test vm to ha vm 2025-05-27 13:20:11 +02:00
1cbee388b7 disable graphics 2025-05-27 13:18:47 +02:00
2 changed files with 6 additions and 2 deletions

View file

@ -20,6 +20,10 @@
]; ];
virtualisation.vmVariant.virtualisation = { virtualisation.vmVariant.virtualisation = {
memorySize = 2048;
cores = 3;
graphics = false;
forwardPorts = [ forwardPorts = [
# ssh # ssh
{ {

View file

@ -14,7 +14,7 @@
... ...
} @ inputs: } @ inputs:
inputs.flake-utils.lib.eachDefaultSystem (system: rec { inputs.flake-utils.lib.eachDefaultSystem (system: rec {
nixosConfigurations.test = nixpkgs.lib.nixosSystem { nixosConfigurations.homeassistant-vm = nixpkgs.lib.nixosSystem {
inherit system; inherit system;
specialArgs.inputs = inputs; specialArgs.inputs = inputs;
modules = [ modules = [
@ -24,7 +24,7 @@
apps = { apps = {
default = { default = {
type = "app"; type = "app";
program = "${nixosConfigurations.test.config.system.build.vm}/bin/run-nixos-vm"; program = "${nixosConfigurations.homeassistant-vm.config.system.build.vm}/bin/run-nixos-vm";
}; };
}; };
}); });