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

This commit is contained in:
Gabriel Arazas 2024-01-12 19:27:04 +08:00
parent 4333feb2c0
commit a09fa89ef2
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -24,21 +24,16 @@ import <nixpkgs/nixos/lib/eval-config.nix> {
<nixos-generators/format-module.nix>
({ config, lib, pkgs, ... }: {
imports = [
(
let
password = "nixos";
in
lib.private.mapHomeManagerUser "alice" {
inherit password;
(lib.private.mapHomeManagerUser "alice" {
password = "";
extraGroups = [
"wheel"
];
description = "The password is '${password}'";
description = "There is no password";
isNormalUser = true;
createHome = true;
home = "/home/alice";
}
)
})
];
config = {
@ -46,6 +41,7 @@ import <nixpkgs/nixos/lib/eval-config.nix> {
<sops-nix/modules/home-manager/sops.nix>
({ config, lib, ... }: {
_module.args = extraArgs;
xdg.userDirs.createDirectories = lib.mkForce true;
nixpkgs.overlays = [
config'.overlays.default
@ -55,11 +51,6 @@ import <nixpkgs/nixos/lib/eval-config.nix> {
_module.args = extraArgs;
virtualisation.qemu.options = [
"-vga virtio"
"-display gtk,gl=on"
];
workflows.workflows.${workflow}.enable = true;
nixpkgs.overlays = [