From 537f4910f55cbb0e5b06c3bb9e8b21f6b37b307c Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Thu, 25 Jan 2024 12:13:58 +0800 Subject: [PATCH] apps/run-workflow-with-vm: update base config --- apps/run-workflow-with-vm/configuration.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/apps/run-workflow-with-vm/configuration.nix b/apps/run-workflow-with-vm/configuration.nix index a1088e71..3eb54fcc 100644 --- a/apps/run-workflow-with-vm/configuration.nix +++ b/apps/run-workflow-with-vm/configuration.nix @@ -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, extraModules ? [ ] }: +{ workflow, extraModules ? [ ], extraHomeModules ? [ ] }: let pkgs = import { }; @@ -26,9 +26,7 @@ import { imports = [ (lib.private.mapHomeManagerUser "alice" { password = ""; - extraGroups = [ - "wheel" - ]; + extraGroups = [ "wheel" ]; description = "There is no password"; isNormalUser = true; createHome = true; @@ -37,17 +35,13 @@ import { ]; config = { - home-manager.sharedModules = [ + home-manager.sharedModules = extraHomeModules ++ [ ({ config, lib, ... }: { _module.args = extraArgs; xdg.userDirs.createDirectories = lib.mkForce true; - - nixpkgs.overlays = [ - config'.overlays.default - ]; }) ];