From f9f905a771e73280c212a2cc924ea5d299c71c8a Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sun, 19 Sep 2021 21:21:58 -0400 Subject: [PATCH] fix: environment not defined in hm --- users/profiles/shells/bash.nix | 6 +++--- users/profiles/shells/fish.nix | 2 +- users/profiles/shells/zsh.nix | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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 ]; };