nix-config/modules/apps/notes.nix
2024-08-26 21:02:31 +02:00

21 lines
452 B
Nix

{ lib, config, ... }: let
inherit (lib) mkIf;
inherit (config) conf;
inherit (config.conf) keys;
in mkIf conf.apps.enable {
home-manager.users.${conf.username} = {
programs.sioyek = {
enable = true;
bindings = {
"move_up" = keys.up;
"move_down" = keys.down;
"move_left" = keys.left;
"move_right" = keys.right;
};
};
programs.fish.shellAbbrs = {
pdf = "sioyek";
};
};
}