add fish
This commit is contained in:
@@ -91,11 +91,15 @@
|
|||||||
};
|
};
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
|
|
||||||
|
programs.bash.blesh.enable = true;
|
||||||
|
programs.fish.enable = true;
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs;
|
environment.systemPackages = with pkgs;
|
||||||
[
|
[
|
||||||
# utils
|
# utils
|
||||||
|
uutils-coreutils-noprefix
|
||||||
vim
|
vim
|
||||||
curl
|
curl
|
||||||
inetutils
|
inetutils
|
||||||
|
|||||||
@@ -79,6 +79,7 @@
|
|||||||
gpu-api = "vulkan";
|
gpu-api = "vulkan";
|
||||||
hwdec = "vulkan";
|
hwdec = "vulkan";
|
||||||
screenshot-directory = "/mnt/HDD1/Pictures/";
|
screenshot-directory = "/mnt/HDD1/Pictures/";
|
||||||
|
# screenshot-directory = "~/Pictures/";
|
||||||
screenshot-template = "%F/%F_snapshot_%P";
|
screenshot-template = "%F/%F_snapshot_%P";
|
||||||
glsl-shaders = "~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Restore_CNN_VL.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl";
|
glsl-shaders = "~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Restore_CNN_VL.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -31,8 +31,20 @@ with lib;
|
|||||||
bash = {
|
bash = {
|
||||||
enable = true;
|
enable = true;
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
source $(blesh-share)/ble.sh
|
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
|
||||||
bleopt canvas_winch_action=redraw-prev
|
then
|
||||||
|
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
|
||||||
|
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
|
||||||
|
fi
|
||||||
|
# source $(blesh-share)/ble.sh
|
||||||
|
# bleopt canvas_winch_action=redraw-prev
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
fish = {
|
||||||
|
enable = true;
|
||||||
|
interactiveShellInit = ''
|
||||||
|
set fish_greeting # Disable greeting
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -93,6 +105,7 @@ with lib;
|
|||||||
zellij = {
|
zellij = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
|
enableFishIntegration = true;
|
||||||
settings = {
|
settings = {
|
||||||
theme = "dracula";
|
theme = "dracula";
|
||||||
show_startup_tips = false;
|
show_startup_tips = false;
|
||||||
@@ -120,6 +133,7 @@ with lib;
|
|||||||
eza = {
|
eza = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
|
enableFishIntegration = true;
|
||||||
git = true;
|
git = true;
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
"--color=auto"
|
"--color=auto"
|
||||||
|
|||||||
Reference in New Issue
Block a user