diff --git a/home/base/tui/shell.nix b/home/base/tui/shell.nix index e644cff7..cb2fce4d 100644 --- a/home/base/tui/shell.nix +++ b/home/base/tui/shell.nix @@ -5,18 +5,6 @@ }: let inherit (pkgs-unstable) nu_scripts; in { - programs.bash = { - # load the alias file for work - bashrcExtra = '' - alias_for_work=/etc/agenix/alias-for-work.bash - if [ -f $alias_for_work ]; then - . $alias_for_work - else - echo "No alias file found for work" - fi - ''; - }; - programs.nushell = { # load the alias file for work # the file must exist, otherwise nushell will complain about it! diff --git a/secrets/darwin.nix b/secrets/darwin.nix index b76d666d..d650d447 100644 --- a/secrets/darwin.nix +++ b/secrets/darwin.nix @@ -90,12 +90,6 @@ file = "${mysecrets}/alias-for-work.nushell.age"; } // user_readable; - - "alias-for-work.bash" = - { - file = "${mysecrets}/alias-for-work.bash.age"; - } - // user_readable; }; # place secrets in /etc/ @@ -125,9 +119,6 @@ "agenix/alias-for-work.nushell" = { source = config.age.secrets."alias-for-work.nushell".path; }; - "agenix/alias-for-work.bash" = { - source = config.age.secrets."alias-for-work.bash".path; - }; }; # both the original file and the symlink should be readable and executable by the user diff --git a/secrets/nixos.nix b/secrets/nixos.nix index 5bc5983d..b9fcd732 100644 --- a/secrets/nixos.nix +++ b/secrets/nixos.nix @@ -138,12 +138,6 @@ in { file = "${mysecrets}/alias-for-work.nushell.age"; } // user_readable; - - "alias-for-work.bash" = - { - file = "${mysecrets}/alias-for-work.bash.age"; - } - // user_readable; }; # place secrets in /etc/ @@ -174,10 +168,6 @@ in { source = config.age.secrets."alias-for-work.nushell".path; mode = "0644"; # both the original file and the symlink should be readable and executable by the user }; - "agenix/alias-for-work.bash" = { - source = config.age.secrets."alias-for-work.bash".path; - mode = "0644"; # both the original file and the symlink should be readable and executable by the user - }; }; })