flake.nix: fix *-vm setups
This commit is contained in:
parent
6e7e013ec6
commit
cbe9b7a2bf
|
@ -379,11 +379,16 @@
|
||||||
mem = nixos.lib.mkForce 2048;
|
mem = nixos.lib.mkForce 2048;
|
||||||
hypervisor = nixos.lib.mkForce "qemu";
|
hypervisor = nixos.lib.mkForce "qemu";
|
||||||
socket = nixos.lib.mkForce null;
|
socket = nixos.lib.mkForce null;
|
||||||
shares = [ {
|
shares = nixos.lib.mkForce [ {
|
||||||
tag = "ro-store";
|
tag = "ro-store";
|
||||||
source = "/nix/store";
|
source = "/nix/store";
|
||||||
mountPoint = "/nix/.ro-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;
|
boot.isContainer = lib.mkForce false;
|
||||||
users.users.root.password = "";
|
users.users.root.password = "";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user