feat(sioyek): init
This commit is contained in:
19
modules/home/users/msyds/sioyek.nix
Normal file
19
modules/home/users/msyds/sioyek.nix
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
{ 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;
|
||||||
|
config = {
|
||||||
|
startup_commands = ''
|
||||||
|
toggle_dark_mode
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -67,6 +67,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