diff --git a/modules/home/common/bash.nix b/modules/home/common/bash.nix new file mode 100644 index 0000000..08176f6 --- /dev/null +++ b/modules/home/common/bash.nix @@ -0,0 +1,12 @@ +{ config, pkgs, lib, ... }: +{ + options.swarselmodules.bash = lib.mkEnableOption "bash settings"; + config = lib.mkIf config.swarselmodules.bash { + + programs.bash = { + bashrcExtra = '' + export PATH="${pkgs.nix}/bin:$PATH" + ''; + }; + }; +} diff --git a/profiles/home/dgxspark/default.nix b/profiles/home/dgxspark/default.nix index a0d261a..9a9a4c2 100644 --- a/profiles/home/dgxspark/default.nix +++ b/profiles/home/dgxspark/default.nix @@ -8,6 +8,7 @@ atuin = lib.mkDefault true; autotiling = lib.mkDefault false; batsignal = lib.mkDefault false; + bash = lib.mkDefault true; blueman-applet = lib.mkDefault true; desktop = lib.mkDefault false; direnv = lib.mkDefault true;