Add fzf and sshfs

This commit is contained in:
marc committed 2023-03-15 22:19:59 +01:00
1 parent 339a62d601
commit e9bfdcc27e
3 files changed
+21

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
if [ -n "${commands[fzf-share]}" ]; then
source "$(fzf-share)/key-bindings.zsh"
source "$(fzf-share)/completion.zsh"
fi
+2
View File
@@ -79,4 +79,6 @@ in
app.discord.enable = true;
};
# - Extra / Temporary --------------------------
fonts.fonts = [];
}
+15
View File
@@ -0,0 +1,15 @@
{ config, lib, pkgs, self, ... }:
let
cfg = config.samfelag.modules.system.sshfs;
in
{
options.samfelag.modules.system.sshfs = {
enable = lib.mkEnableOption "sshfs";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
sshfs
];
};
}