we just gettin started

just a few more modules, like bitwarden, syncthing, screenshots
This commit is contained in:
martyTF 2025-12-20 05:59:46 +01:00
parent 6b87cd99c8
commit 5fa40025d0
23 changed files with 227 additions and 61 deletions

View file

@ -0,0 +1,39 @@
{
config,
lib,
pkgs,
...
}:
{
options = {
syncthing.devices = lib.mkOption {
default = { };
description = ''
set syncthing devices
'';
};
syncthing.folders = lib.mkOption {
default = { };
description = ''
set syncthing folders
'';
};
};
config = {
services = {
syncthing = {
enable = true;
tray.enable = true;
guiAddress = "0.0.0.0:8384";
settings = {
devices = config.syncthing.devices;
folders = config.syncthing.folders;
};
overrideDevices = lib.mkIf (config.syncthing.devices == { }) false;
overrideFolders = lib.mkIf (config.syncthing.folders == { }) false;
};
};
};
}