mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 11:36:16 +01:00
3f2887b439
Signed-off-by: magic_rb <magic_rb@redalder.org>
22 lines
493 B
Nix
22 lines
493 B
Nix
{inputs, ...}: {
|
|
flake.nixngConfigurations.syncthing = inputs.nixng.nglib.makeSystem {
|
|
system = "x86_64-linux";
|
|
name = "ra-systems-syncthing";
|
|
nixpkgs = inputs.nixpkgs-stable;
|
|
config = {pkgs, ...}: {
|
|
dumb-init = {
|
|
enable = true;
|
|
type.services = {};
|
|
};
|
|
init.services.syncthing = {
|
|
shutdownOnExit = true;
|
|
};
|
|
|
|
services.syncthing = {
|
|
enable = true;
|
|
guiAddress = "http://0.0.0.0:8384/";
|
|
};
|
|
};
|
|
};
|
|
}
|