Compare commits

..

4 Commits

Author SHA1 Message Date
2c1dfb7eb8 remove manual blesh in favor of bash.blesh.enable 2025-06-02 13:27:49 +01:00
2b1fa4df5b add fish 2025-06-02 13:26:56 +01:00
f72b5ef8a8 update flake.lock 2025-06-01 21:38:43 +01:00
c1ad79003d update flake.lock 2025-05-30 23:46:51 +01:00
4 changed files with 34 additions and 18 deletions

View File

@@ -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

View File

@@ -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";
}; };

30
flake.lock generated
View File

@@ -45,11 +45,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1748487945, "lastModified": 1748665073,
"narHash": "sha256-e9zc/rHdoH9i+sFFhhQiKoF6IuD+T2rB/nUyPaO7CCg=", "narHash": "sha256-RMhjnPKWtCoIIHiuR9QKD7xfsKb3agxzMfJY8V9MOew=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "0d13ea58d565d3c1c1468ddae1f623316dc395d9", "rev": "282e1e029cb6ab4811114fc85110613d72771dea",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -85,11 +85,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1748551665, "lastModified": 1748744745,
"narHash": "sha256-FvDJCi1j918d7ta12I0O+Q3DtxsJJqUExBfNBr2N7pY=", "narHash": "sha256-kcj58eYic+yLX/KjtHEOmn6lVnCRwL1IfRGnb8aHprE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-vscode-extensions", "repo": "nix-vscode-extensions",
"rev": "b6d2ce6c8141ad582cdc254c0187c304019636d3", "rev": "c008ed9dd78efdeda5e9d5bb835c785e600791f6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -100,11 +100,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1747900541, "lastModified": 1748634340,
"narHash": "sha256-dn64Pg9xLETjblwZs9Euu/SsjW80pd6lr5qSiyLY1pg=", "narHash": "sha256-pZH4bqbOd8S+si6UcfjHovWDiWKiIGRNRMpmRWaDIms=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "11f2d9ea49c3e964315215d6baa73a8d42672f06", "rev": "daa628a725ab4948e0e2b795e8fb6f4c3e289a7a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -132,11 +132,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1748370509, "lastModified": 1748693115,
"narHash": "sha256-QlL8slIgc16W5UaI3w7xHQEP+Qmv/6vSNTpoZrrSlbk=", "narHash": "sha256-StSrWhklmDuXT93yc3GrTlb0cKSS0agTAxMGjLKAsY8=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4faa5f5321320e49a78ae7848582f684d64783e9", "rev": "910796cabe436259a29a72e8d3f5e180fc6dfacc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -148,11 +148,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1748302896, "lastModified": 1748437600,
"narHash": "sha256-ixMT0a8mM091vSswlTORZj93WQAJsRNmEvqLL+qwTFM=", "narHash": "sha256-hYKMs3ilp09anGO7xzfGs3JqEgUqFMnZ8GMAqI6/k04=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7848cd8c982f7740edf76ddb3b43d234cb80fc4d", "rev": "7282cb574e0607e65224d33be8241eae7cfe0979",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -23,7 +23,6 @@ with lib;
config = { config = {
home.packages = with pkgs;[ home.packages = with pkgs;[
blesh
nerd-fonts.space-mono nerd-fonts.space-mono
]; ];
@@ -31,8 +30,18 @@ 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
'';
};
fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting # Disable greeting
''; '';
}; };
@@ -93,6 +102,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 +130,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"