feat(sioyek): init #7

Merged
msyds merged 2 commits from sioyek into main 2026-03-07 15:57:30 -07:00
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
{ config, lib, pkgs, ... }:
let cfg = config.sydnix.users.msyds.sioyek;
in {
options.sydnix.users.msyds.sioyek = {
enable = lib.mkEnableOption "Sioyek";
};
config = lib.mkIf cfg.enable {
programs.sioyek = {
enable = true;
bindings = {
"move_down_smooth" = "j";
"move_up_smooth" = "k";
"screen_down_smooth" = [ "d" "<C-d>" ];
"screen_up_smooth" = [ "u" "<C-u>" ];
};
config = {
startup_commands = ''
toggle_dark_mode
'';
};
};
};
}

View File

@@ -68,6 +68,7 @@
syncthing.enable = true;
fonts.enable = true;
dank-material-shell.enable = true;
sioyek.enable = true;
};
};