2024-03-02 22:05:30 +01:00
|
|
|
{inputs, ...}: {
|
2023-06-13 23:06:34 +02:00
|
|
|
flake.nixngConfigurations.syncthing = inputs.nixng.nglib.makeSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
name = "ra-systems-syncthing";
|
|
|
|
inherit (inputs) nixpkgs;
|
2024-03-02 22:05:30 +01:00
|
|
|
config = {pkgs, ...}: {
|
|
|
|
dumb-init = {
|
|
|
|
enable = true;
|
|
|
|
type.services = {};
|
|
|
|
};
|
|
|
|
init.services.syncthing = {
|
|
|
|
shutdownOnExit = true;
|
|
|
|
};
|
2023-06-13 23:06:34 +02:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
services.syncthing = {
|
|
|
|
enable = true;
|
|
|
|
guiAddress = "http://0.0.0.0:8384/";
|
2023-06-13 23:06:34 +02:00
|
|
|
};
|
2024-03-02 22:05:30 +01:00
|
|
|
};
|
2023-06-13 23:06:34 +02:00
|
|
|
};
|
|
|
|
}
|