apps/run-workflow-with-vm: update configuration

This commit is contained in:
Gabriel Arazas 2024-03-03 10:26:50 +08:00
parent 4a19b2004e
commit bb93e5ca7d
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -11,6 +11,9 @@ let
in in
import <nixpkgs/nixos/lib/eval-config.nix> { import <nixpkgs/nixos/lib/eval-config.nix> {
inherit lib; inherit lib;
specialArgs = {
foodogsquaredUtils = import <config/lib/utils/nixos.nix> { inherit lib; };
};
modules = extraModules ++ [ modules = extraModules ++ [
<config/modules/nixos> <config/modules/nixos>
<config/modules/nixos/_private> <config/modules/nixos/_private>
@ -21,9 +24,9 @@ import <nixpkgs/nixos/lib/eval-config.nix> {
<sops-nix/modules/sops> <sops-nix/modules/sops>
<nixos-generators/formats/vm.nix> <nixos-generators/formats/vm.nix>
<nixos-generators/format-module.nix> <nixos-generators/format-module.nix>
({ config, lib, pkgs, foodogsquaredLib, ... }: { ({ config, lib, pkgs, foodogsquaredUtils, ... }: {
imports = [ imports = [
(foodogsquaredLib.mapHomeManagerUser "alice" { (foodogsquaredUtils.mapHomeManagerUser "alice" {
password = ""; password = "";
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" ];
description = "There is no password"; description = "There is no password";