Skip to content

Commit

Permalink
fix deploy libvirt
Browse files Browse the repository at this point in the history
  • Loading branch information
zbioe committed Aug 9, 2022
1 parent 8dd84f3 commit 3454694
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 6 additions & 4 deletions generators/minimal-gcp.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{ modulesPath, ... }:
{
imports = [ "${modulesPath}/virtualisation/google-compute-config.nix" ];
} // (import ./minimal-default.nix { inherit modulesPath; })
{ modulesPath, ... }: {
imports = [
"${modulesPath}/virtualisation/google-compute-config.nix"
./minimal-default.nix
];
}
6 changes: 3 additions & 3 deletions generators/minimal-libvirt.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ modulesPath, ... }:
{
{ modulesPath, ... }: {
imports = [
"${modulesPath}/profiles/minimal.nix"
"${modulesPath}/virtualisation/libvirtd.nix"
./minimal-default.nix
];
boot.loader.grub.devices = [ "/dev/sda" ];
} // (import ./minimal-default.nix { inherit modulesPath; })
}

0 comments on commit 3454694

Please sign in to comment.