adding syncthing
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
"${userModules}/userd/mako"
|
||||
"${userModules}/userd/udiskie"
|
||||
"${userModules}/userd/gpg"
|
||||
"${userModules}/userd/syncthing"
|
||||
"${userModules}/utils/anyrun"
|
||||
"${userModules}/utils/misc"
|
||||
"${userModules}/utils/rofi"
|
||||
|
||||
@@ -107,6 +107,7 @@ in {
|
||||
x = "delete_selection";
|
||||
y = {
|
||||
y = ["extend_to_line_bounds" "yank_main_selection_to_clipboard" "normal_mode" "collapse_selection"];
|
||||
d = ":yank-diagnostic";
|
||||
};
|
||||
Y = ["extend_to_line_end" "yank_main_selection_to_clipboard" "collapse_selection"];
|
||||
P = ["paste_clipboard_before" "collapse_selection"];
|
||||
|
||||
18
home/modules/userd/syncthing/default.nix
Normal file
18
home/modules/userd/syncthing/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.modules.userd.syncthing;
|
||||
in {
|
||||
options = {
|
||||
modules.userd.syncthing.enable = mkEnableOption "Enables syncthing";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
tray.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -63,6 +63,9 @@
|
||||
udiskie = {
|
||||
enable = true;
|
||||
};
|
||||
syncthing = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
utils = {
|
||||
anyrun = {
|
||||
|
||||
Reference in New Issue
Block a user