From d89abf9ded8f08b3e4432066484f4edbaad87ce3 Mon Sep 17 00:00:00 2001 From: rocketcamel Date: Thu, 7 Aug 2025 14:17:29 -0700 Subject: [PATCH] feat: add lftp --- nix/modules/desktop.nix | 7 +++++++ nix/users/luca/zsh.nix | 19 +++++++++---------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/nix/modules/desktop.nix b/nix/modules/desktop.nix index 1bc835e..52a0f10 100644 --- a/nix/modules/desktop.nix +++ b/nix/modules/desktop.nix @@ -45,6 +45,7 @@ grim slurp swappy + lftp ]; programs.hyprland = { enable = true; @@ -88,6 +89,12 @@ xdg.configFile = { "hypr/hyprlock.conf".source = ../../custom/hyprlock/hyprlock.conf; }; + home.file = { + ".lftprc".text = '' + alias l ls + set default-protocol sftp + ''; + }; services.dunst = { enable = true; configFile = ../../custom/dunst/dunstrc; diff --git a/nix/users/luca/zsh.nix b/nix/users/luca/zsh.nix index c3173ad..320592f 100644 --- a/nix/users/luca/zsh.nix +++ b/nix/users/luca/zsh.nix @@ -17,16 +17,15 @@ in autosuggestion.enable = true; syntaxHighlighting.enable = true; history.size = 1000; - envExtra = - '' - export PATH="$PATH:$HOME/.rokit/bin" - export GOPATH="$HOME/go" - export GOBIN="$HOME/go/bin" - export PATH="$GOBIN:$PATH" - alias cat="bat" - '' - + "\n" - + aliases; + envExtra = '' + export PATH="$PATH:$HOME/.rokit/bin" + export GOPATH="$HOME/go" + export GOBIN="$HOME/go/bin" + export PATH="$GOBIN:$PATH" + alias cat="bat" + '' + + "\n" + + aliases; oh-my-zsh = { enable = true; plugins = [