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:
parent
b4e1daad3b
commit
3b6731f6f0
2 changed files with 7 additions and 4 deletions
|
|
@ -6,9 +6,6 @@
|
|||
};
|
||||
|
||||
home-manager.sharedModules = lib.singleton {
|
||||
programs = {
|
||||
bash.enable = true;
|
||||
fzf.enable = true;
|
||||
};
|
||||
programs.fzf.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue