17 lines
304 B
Nix
17 lines
304 B
Nix
{ lib, config, pkgs, ... }:
|
|
|
|
let
|
|
inherit (lib) mkIf;
|
|
userShell = config.systemModules.user.shell;
|
|
in
|
|
|
|
{
|
|
config = mkIf (userShell == "bash") {
|
|
users.users.ooks.shell = pkgs.bash;
|
|
programs.bash = {
|
|
enable = true;
|
|
};
|
|
environment.pathsToLink = ["/share/bash-completion"];
|
|
};
|
|
}
|
|
|