Add fzf and sshfs

This commit is contained in:
marc
2023-03-15 22:19:59 +01:00
parent 339a62d601
commit e9bfdcc27e
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
if [ -n "${commands[fzf-share]}" ]; then
source "$(fzf-share)/key-bindings.zsh"
source "$(fzf-share)/completion.zsh"
fi

View File

@@ -79,4 +79,6 @@ in
app.discord.enable = true; app.discord.enable = true;
}; };
# - Extra / Temporary --------------------------
fonts.fonts = [];
} }

15
modules/system/sshfs.nix Normal file
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
];
};
}