home-profile: updates
This commit is contained in:
parent
fd039ff7cd
commit
e4a320cbc8
|
@ -48,7 +48,7 @@ in
|
||||||
enable = lib.mkDefault (cfg.enableTerminalExtra || cfg.enableNixDevel);
|
enable = lib.mkDefault (cfg.enableTerminalExtra || cfg.enableNixDevel);
|
||||||
nix-direnv.enable = lib.mkDefault (cfg.enableNixDevel && (config.programs.direnv.enable == true));
|
nix-direnv.enable = lib.mkDefault (cfg.enableNixDevel && (config.programs.direnv.enable == true));
|
||||||
enableBashIntegration = lib.mkDefault config.programs.bash.enable;
|
enableBashIntegration = lib.mkDefault config.programs.bash.enable;
|
||||||
#enableFishIntegration = lib.mkDefault config.programs.fish.enable;
|
enableFishIntegration = lib.mkDefault config.programs.fish.enable;
|
||||||
enableZshIntegration = lib.mkDefault config.programs.zsh.enable;
|
enableZshIntegration = lib.mkDefault config.programs.zsh.enable;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ in
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
programs.bash = {
|
programs.bash = {
|
||||||
enable = lib.mkDefault true;
|
enable = true;
|
||||||
enableCompletion = lib.mkDefault true;
|
enableCompletion = lib.mkDefault true;
|
||||||
enableVteIntegration = lib.mkDefault true;
|
enableVteIntegration = lib.mkDefault true;
|
||||||
historyControl = lib.mkDefault [ "erasedups" "ignorespace" ];
|
historyControl = lib.mkDefault [ "erasedups" "ignorespace" ];
|
||||||
|
|
|
@ -6,7 +6,7 @@ in
|
||||||
options.materus.profile.fish.enable = materusArg.pkgs.lib.mkBoolOpt config.materus.profile.enableTerminalExtra "Enable materus fish config";
|
options.materus.profile.fish.enable = materusArg.pkgs.lib.mkBoolOpt config.materus.profile.enableTerminalExtra "Enable materus fish config";
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = lib.mkDefault true;
|
enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,10 +4,10 @@ let
|
||||||
cfg = config.materus.profile.starship;
|
cfg = config.materus.profile.starship;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.materus.profile.starship.enable = materusArg.pkgs.lib.mkBoolOpt (profile.zsh.enable || profile.bash.enable || profile.fish.enable) "Enable materus fish config";
|
options.materus.profile.starship.enable = materusArg.pkgs.lib.mkBoolOpt false "Enable materus starship config";
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
programs.starship.enable = lib.mkDefault cfg.enable;
|
programs.starship.enable = true;
|
||||||
|
|
||||||
programs.starship.settings = {
|
programs.starship.settings = {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue