mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
apps/run-workflow-with-vm: update default configuration
This commit is contained in:
parent
4333feb2c0
commit
a09fa89ef2
@ -24,21 +24,16 @@ import <nixpkgs/nixos/lib/eval-config.nix> {
|
|||||||
<nixos-generators/format-module.nix>
|
<nixos-generators/format-module.nix>
|
||||||
({ config, lib, pkgs, ... }: {
|
({ config, lib, pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
(
|
(lib.private.mapHomeManagerUser "alice" {
|
||||||
let
|
password = "";
|
||||||
password = "nixos";
|
extraGroups = [
|
||||||
in
|
"wheel"
|
||||||
lib.private.mapHomeManagerUser "alice" {
|
];
|
||||||
inherit password;
|
description = "There is no password";
|
||||||
extraGroups = [
|
isNormalUser = true;
|
||||||
"wheel"
|
createHome = true;
|
||||||
];
|
home = "/home/alice";
|
||||||
description = "The password is '${password}'";
|
})
|
||||||
isNormalUser = true;
|
|
||||||
createHome = true;
|
|
||||||
home = "/home/alice";
|
|
||||||
}
|
|
||||||
)
|
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
@ -46,6 +41,7 @@ import <nixpkgs/nixos/lib/eval-config.nix> {
|
|||||||
<sops-nix/modules/home-manager/sops.nix>
|
<sops-nix/modules/home-manager/sops.nix>
|
||||||
({ config, lib, ... }: {
|
({ config, lib, ... }: {
|
||||||
_module.args = extraArgs;
|
_module.args = extraArgs;
|
||||||
|
xdg.userDirs.createDirectories = lib.mkForce true;
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
config'.overlays.default
|
config'.overlays.default
|
||||||
@ -55,11 +51,6 @@ import <nixpkgs/nixos/lib/eval-config.nix> {
|
|||||||
|
|
||||||
_module.args = extraArgs;
|
_module.args = extraArgs;
|
||||||
|
|
||||||
virtualisation.qemu.options = [
|
|
||||||
"-vga virtio"
|
|
||||||
"-display gtk,gl=on"
|
|
||||||
];
|
|
||||||
|
|
||||||
workflows.workflows.${workflow}.enable = true;
|
workflows.workflows.${workflow}.enable = true;
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
|
Loading…
Reference in New Issue
Block a user