flake.nix: fix *-vm setups

This commit is contained in:
Astro 2022-08-05 16:53:56 +02:00
parent 6e7e013ec6
commit cbe9b7a2bf
1 changed files with 6 additions and 1 deletions

View File

@ -379,11 +379,16 @@
mem = nixos.lib.mkForce 2048;
hypervisor = nixos.lib.mkForce "qemu";
socket = nixos.lib.mkForce null;
shares = [ {
shares = nixos.lib.mkForce [ {
tag = "ro-store";
source = "/nix/store";
mountPoint = "/nix/.ro-store";
} ];
interfaces = nixos.lib.mkForce [ {
type = "user";
id = "eth0";
mac = "02:23:de:ad:be:ef";
} ];
};
boot.isContainer = lib.mkForce false;
users.users.root.password = "";