enabled bash on LXCs

This commit is contained in:
John Lancaster
2026-03-14 12:46:09 -05:00
parent ab3e1da951
commit 1d084311a3
3 changed files with 3 additions and 3 deletions

View File

@@ -17,6 +17,7 @@
dates = "weekly"; dates = "weekly";
options = "--delete-older-than 30d"; options = "--delete-older-than 30d";
}; };
programs.bash.enable = true;
}; };
# Generic bootstrapping lxc, use a specific host file for more # Generic bootstrapping lxc, use a specific host file for more

View File

@@ -1,7 +1,7 @@
{ {
flake.modules.homeManager.bash = { pkgs, ... }: flake.modules.homeManager.bash = { pkgs, lib, config, ... }:
{ {
programs.bash = { programs.bash = lib.mkIf (config.shell.program == "bash") {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
package = pkgs.bash; package = pkgs.bash;

View File

@@ -18,7 +18,6 @@
]; ];
config = { config = {
programs.bash.enable = lib.mkForce (config.shell.program == "bash");
programs.zsh.enable = lib.mkForce (config.shell.program == "zsh"); programs.zsh.enable = lib.mkForce (config.shell.program == "zsh");
home.shell.enableShellIntegration = true; home.shell.enableShellIntegration = true;