Compare commits

...

2 Commits

Author SHA1 Message Date
Zynh Ludwig 617b2cef84 remove swanky package 2024-05-29 16:06:07 -07:00
Zynh Ludwig cc9ef17af4 relocate bash config 2024-05-29 16:03:39 -07:00
3 changed files with 10 additions and 10 deletions

View File

@ -138,15 +138,6 @@
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
programs.bash = {
interactiveShellInit = ''
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
then
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
fi
'';
};
# programs.hyprland.enable = true;
# environment.sessionVariables.NIXOS_OZONE_WL = "1";

View File

@ -39,7 +39,6 @@
# (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!"
# '')
lua-language-server
];
# Home Manager is pretty good at managing dotfiles. The primary way to manage

View File

@ -1,5 +1,15 @@
{ inputs, ... }:
{
programs.bash = {
interactiveShellInit = ''
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
then
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
fi
'';
};
programs.fish = {
enable = true;
interactiveShellInit =