Add fzf and sshfs
This commit is contained in:
4
config/shell/zsh/002-fzf.zsh
Normal file
4
config/shell/zsh/002-fzf.zsh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
if [ -n "${commands[fzf-share]}" ]; then
|
||||||
|
source "$(fzf-share)/key-bindings.zsh"
|
||||||
|
source "$(fzf-share)/completion.zsh"
|
||||||
|
fi
|
||||||
@@ -79,4 +79,6 @@ in
|
|||||||
app.discord.enable = true;
|
app.discord.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# - Extra / Temporary --------------------------
|
||||||
|
fonts.fonts = [];
|
||||||
}
|
}
|
||||||
|
|||||||
15
modules/system/sshfs.nix
Normal file
15
modules/system/sshfs.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user