Compare commits
2 commits
2ce243c321
...
22ab6fa3de
Author | SHA1 | Date | |
---|---|---|---|
22ab6fa3de | |||
1cbee388b7 |
2 changed files with 6 additions and 2 deletions
|
@ -20,6 +20,10 @@
|
|||
];
|
||||
|
||||
virtualisation.vmVariant.virtualisation = {
|
||||
memorySize = 2048;
|
||||
cores = 3;
|
||||
graphics = false;
|
||||
|
||||
forwardPorts = [
|
||||
# ssh
|
||||
{
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
...
|
||||
} @ inputs:
|
||||
inputs.flake-utils.lib.eachDefaultSystem (system: rec {
|
||||
nixosConfigurations.test = nixpkgs.lib.nixosSystem {
|
||||
nixosConfigurations.homeassistant-vm = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs.inputs = inputs;
|
||||
modules = [
|
||||
|
@ -24,7 +24,7 @@
|
|||
apps = {
|
||||
default = {
|
||||
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";
|
||||
};
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue