Compare commits

...

2 Commits

Author SHA1 Message Date
Zynh Ludwig c84a021f97 remove swanky package 2024-05-29 16:27:19 -07:00
Zynh Ludwig a8c727b880 relocate bash config 2024-05-29 16:27:19 -07:00
3 changed files with 11 additions and 11 deletions

View File

@ -138,15 +138,6 @@
# Allow unfree packages # Allow unfree packages
nixpkgs.config.allowUnfree = true; 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; # programs.hyprland.enable = true;
# environment.sessionVariables.NIXOS_OZONE_WL = "1"; # environment.sessionVariables.NIXOS_OZONE_WL = "1";

View File

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

View File

@ -1,5 +1,15 @@
{ inputs, ... }: { inputs, pkgs, ... }:
{ {
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 = { programs.fish = {
enable = true; enable = true;
interactiveShellInit = interactiveShellInit =