fix: include nomarchy flake in VM at /etc/nomarchy
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ lib, ... }:
|
{ inputs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Shared VM configuration
|
# Shared VM configuration
|
||||||
@@ -12,6 +12,9 @@
|
|||||||
services.qemuGuest.enable = true;
|
services.qemuGuest.enable = true;
|
||||||
services.xserver.videoDrivers = [ "qxl" "virtio" "modesetting" ];
|
services.xserver.videoDrivers = [ "qxl" "virtio" "modesetting" ];
|
||||||
|
|
||||||
|
# Provide the flake to the VM for local rebuilding
|
||||||
|
environment.etc."nomarchy".source = lib.mkDefault inputs.self;
|
||||||
|
|
||||||
# Dummy hardware config for VM
|
# Dummy hardware config for VM
|
||||||
fileSystems."/" = lib.mkDefault { device = "/dev/disk/by-label/nixos"; };
|
fileSystems."/" = lib.mkDefault { device = "/dev/disk/by-label/nixos"; };
|
||||||
boot.loader.grub.device = lib.mkDefault "/dev/vda";
|
boot.loader.grub.device = lib.mkDefault "/dev/vda";
|
||||||
|
|||||||
Reference in New Issue
Block a user