enabled bash on LXCs
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
programs.bash.enable = true;
|
||||
};
|
||||
|
||||
# Generic bootstrapping lxc, use a specific host file for more
|
||||
|
||||
@@ -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;
|
||||
enableCompletion = true;
|
||||
package = pkgs.bash;
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
];
|
||||
|
||||
config = {
|
||||
programs.bash.enable = lib.mkForce (config.shell.program == "bash");
|
||||
programs.zsh.enable = lib.mkForce (config.shell.program == "zsh");
|
||||
home.shell.enableShellIntegration = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user