diff --git a/users/profiles/shells/bash.nix b/users/profiles/shells/bash.nix index 14fcd6e..90f4b27 100644 --- a/users/profiles/shells/bash.nix +++ b/users/profiles/shells/bash.nix @@ -1,6 +1,4 @@ -{ pkgs, ... }: { - environment.shells = with pkgs; [ bashInteractive ]; - +{ config, pkgs, ... }: { programs = { bash = { enable = true; @@ -9,4 +7,6 @@ starship.enableBashIntegration = true; }; + + config.environment.shells = with pkgs; [ bashInteractive ]; } diff --git a/users/profiles/shells/fish.nix b/users/profiles/shells/fish.nix index 82b1201..24fd90e 100644 --- a/users/profiles/shells/fish.nix +++ b/users/profiles/shells/fish.nix @@ -9,5 +9,5 @@ starship.enableFishIntegration = lib.mkIf config.programs.starship.enable true; }; - environment.shells = [ pkgs.fish ]; + config.environment.shells = [ pkgs.fish ]; } diff --git a/users/profiles/shells/zsh.nix b/users/profiles/shells/zsh.nix index 8e9736d..c00e6b7 100644 --- a/users/profiles/shells/zsh.nix +++ b/users/profiles/shells/zsh.nix @@ -60,7 +60,7 @@ starship.enableZshIntegration = lib.mkIf config.programs.starship.enable true; }; - environment = { + config.environment = { pathsToLink = [ "/share/zsh" ]; shells = [ pkgs.zsh ]; };