dotfiles/nixng/containers/syncthing/default.nix
magic_rb aff0158ef7
Reformat the whole flake using alejandra
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-03-02 22:17:03 +01:00

22 lines
486 B
Nix

{inputs, ...}: {
flake.nixngConfigurations.syncthing = inputs.nixng.nglib.makeSystem {
system = "x86_64-linux";
name = "ra-systems-syncthing";
inherit (inputs) nixpkgs;
config = {pkgs, ...}: {
dumb-init = {
enable = true;
type.services = {};
};
init.services.syncthing = {
shutdownOnExit = true;
};
services.syncthing = {
enable = true;
guiAddress = "http://0.0.0.0:8384/";
};
};
};
}