Compare commits
3 Commits
db2ee5630a
...
e7c17a948a
| Author | SHA1 | Date | |
|---|---|---|---|
| e7c17a948a | |||
| fbeed753e9 | |||
| 89eb11f635 |
@@ -128,6 +128,13 @@ in {
|
|||||||
version = cfg.package.version;
|
version = cfg.package.version;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|
||||||
|
xdg.mimeApps = {
|
||||||
|
enable = true;
|
||||||
|
associations.defaultApplicationPackages = [
|
||||||
|
sydmacs
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# Set emacsclient as the default editor for the time being.
|
# Set emacsclient as the default editor for the time being.
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
|
|||||||
25
modules/home/users/msyds/sioyek.nix
Normal file
25
modules/home/users/msyds/sioyek.nix
Normal 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
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -68,6 +68,7 @@
|
|||||||
syncthing.enable = true;
|
syncthing.enable = true;
|
||||||
fonts.enable = true;
|
fonts.enable = true;
|
||||||
dank-material-shell.enable = true;
|
dank-material-shell.enable = true;
|
||||||
|
sioyek.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user