mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
apps/run-workflow-with-vm: add extraModules optional argument
This commit is contained in:
parent
a09fa89ef2
commit
5ff88e0a61
@ -1,7 +1,7 @@
|
||||
# A very basic NixOS VM configuration intended for testing out the given
|
||||
# workflow module. It's a good thing the baseline for the configuration is not
|
||||
# tedious to set up for simpler configs like this.
|
||||
{ workflow }:
|
||||
{ workflow, extraModules ? [] }:
|
||||
|
||||
let
|
||||
pkgs = import <nixpkgs> { };
|
||||
@ -16,7 +16,7 @@ let
|
||||
in
|
||||
import <nixpkgs/nixos/lib/eval-config.nix> {
|
||||
inherit lib;
|
||||
modules = modules ++ [
|
||||
modules = modules ++ extraModules ++ [
|
||||
<home-manager/nixos>
|
||||
<disko/module.nix>
|
||||
<sops-nix/modules/sops>
|
||||
|
Loading…
Reference in New Issue
Block a user