m: init syncthing for hosts
This commit is contained in:
parent
270157937b
commit
eeffa28de5
@ -32,7 +32,6 @@ in {
|
||||
../2configs/elchos/log.nix
|
||||
../2configs/elchos/search.nix
|
||||
../2configs/elchos/stats.nix
|
||||
../2configs/stats-srv.nix
|
||||
|
||||
];
|
||||
systemd.services.grafana.serviceConfig.LimitNOFILE=10032;
|
||||
@ -129,6 +128,7 @@ in {
|
||||
# createHome = true;
|
||||
openssh.authorizedKeys.keys = [
|
||||
config.krebs.users.makefu.pubkey
|
||||
config.krebs.users.lass.pubkey
|
||||
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC7betFnMWVeBYRhJ+2f0B5WbDdbpteIVg/BlyimXbx79R7lZ7nUq5GyMLrp7B00frUuA0su8oFFN3ODPJDstgBslBIP7kWPR2zW8NOXorrbFo3J2fKvlO77k6/wD5/M11m5nS01/aVJgAgMGLg2W12G7EMf5Wq75YsQJC/S9p8kMca589djMPRuQETu7fWq0t/Gmwq+2ELLL0csRK87LvybA92JYkAIneRnGzIlCguOXq0Vcq6pGQ1J1PfVEP76Do33X29l2hZc/+vR9ExW6s2g7fs5/5LDX9Wnq7+AEsxiEf4IOeL0hCG4/CGGCN23J+6cDrNKOP94AHO1si0O2lxFsxgNU2vdVWPNgSLottiUFBPPNEZFD++sZyutzH6PIz6D90hB2Q52X6WN9ZUtlDfQ91rHd+S2BhR6f4dAqiRDXlI5MNNDdoTT4S5R0wU/UrNwjiV/xiu/hWZYGQK7YgY4grFRblr378r8FqjLvumPDFMDLVa9eJKq1ad1x/GV5tZpsttzWj4nbixaKlZOg+TN2GHboujLx3bANz1Jqfvfto8UOeKTtA8pkb8E1PJPpBMOZcA7oHaqJrp6Vuf/SkmglHnQvGbi60OK3s61nuRmIcBiTXd+4qeAJpq1QyEDj3X/+hV0Gwz8rCo6JGkF1ETW37ZYvqU9rxNXjS+/Pfktw== jules@kvasir-2015-02-13"
|
||||
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD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rrBSgFW0PR2WWCJ0e5Btj1yRgXp0+d5OuxxlVInRs+l2HogdxjonMhAHrTCzJtI8UJTKXKN0FBPRDRcepeExhvNqcOUz4Kvw== me@andreaskist.de"
|
||||
|
@ -35,10 +35,12 @@ in {
|
||||
../2configs/nginx/update.connector.one.nix
|
||||
../2configs/deployment/mycube.connector.one.nix
|
||||
../2configs/deployment/graphs.nix
|
||||
# ../2configs/ipfs.nix
|
||||
../2configs/syncthing.nix
|
||||
|
||||
# ../2configs/opentracker.nix
|
||||
../2configs/logging/central-stats-client.nix
|
||||
../2configs/logging/central-logging-client.nix
|
||||
# ../2configs/logging/central-logging-client.nix
|
||||
|
||||
];
|
||||
services.smartd.devices = [ { device = "/dev/sda";} ];
|
||||
@ -79,7 +81,6 @@ in {
|
||||
];
|
||||
services.bitlbee.enable = true;
|
||||
systemd.services.bitlbee.environment.BITLBEE_DEBUG="1";
|
||||
# systemd.services.bitlbee.serviceConfig.ExecStart = "${pkgs.bitlbee}/bin/bitlbee -Dnv -c
|
||||
|
||||
# Hardware
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
|
@ -53,9 +53,10 @@ in {
|
||||
../2configs/omo-share.nix
|
||||
../2configs/tinc/retiolum.nix
|
||||
../2configs/logging/central-stats-server.nix
|
||||
../2configs/logging/central-logging-server.nix
|
||||
# ../2configs/logging/central-logging-server.nix
|
||||
../2configs/logging/central-stats-client.nix
|
||||
../2configs/logging/central-logging-client.nix
|
||||
../2configs/syncthing.nix
|
||||
# ../2configs/logging/central-logging-client.nix
|
||||
|
||||
# ../2configs/torrent.nix
|
||||
|
||||
|
5
makefu/2configs/ipfs.nix
Normal file
5
makefu/2configs/ipfs.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{...}:
|
||||
{
|
||||
services.ipfs.enable = true;
|
||||
networking.firewall.allowedTCPPorts = [ 4001 ];
|
||||
}
|
11
makefu/2configs/syncthing.nix
Normal file
11
makefu/2configs/syncthing.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{...}:
|
||||
|
||||
with import <stockholm/lib>; {
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
openDefaultPorts = true;
|
||||
useInotify = true;
|
||||
group = "download";
|
||||
};
|
||||
users.extraGroups.download.gid = genid "download";
|
||||
}
|
Loading…
Reference in New Issue
Block a user