enabled bash on LXCs
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user