stylix/testbed/modules/common: globally enable Bash (#1803)

Globally enable Bash to ensure environment variables are set, avoiding
individual testbeds to consider environment variable implementation
details.

Link: https://github.com/nix-community/stylix/pull/1803

Reviewed-by: awwpotato <awwpotato@voidq.com>
This commit is contained in:
NAHO 2025-07-30 19:23:34 +02:00 committed by GitHub
parent b4e1daad3b
commit 3b6731f6f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View file

@ -6,9 +6,6 @@
};
home-manager.sharedModules = lib.singleton {
programs = {
bash.enable = true;
fzf.enable = true;
};
programs.fzf.enable = true;
};
}

View file

@ -17,6 +17,12 @@ in
home-manager.users.${user.username}.home.stateVersion =
config.system.nixos.release;
home-manager.sharedModules = lib.singleton {
# Enable Bash to ensure environment variables are set, avoiding individual
# testbeds to consider environment variable implementation details.
programs.bash.enable = true;
};
virtualisation.vmVariant.virtualisation = {
# This is a maximum limit; the VM should still work if the host has fewer cores.
cores = 4;