[NixOS] Add syncthing
This commit is contained in:
parent
5974d67b0b
commit
8fa2188c68
@ -4,11 +4,12 @@
|
||||
./android.nix
|
||||
./arm-incompatible.nix
|
||||
./base.nix
|
||||
./games.nix
|
||||
./desktop.nix
|
||||
./xmonad.nix
|
||||
./code.nix
|
||||
./desktop.nix
|
||||
./extra.nix
|
||||
./games.nix
|
||||
./internet-computer.nix
|
||||
./syncthing.nix
|
||||
./xmonad.nix
|
||||
];
|
||||
}
|
||||
|
@ -3,6 +3,7 @@
|
||||
../internet-computer.nix
|
||||
../raspberry-pi.nix
|
||||
../base.nix
|
||||
../syncthing.nix
|
||||
# ../desktop.nix
|
||||
# ../xmonad.nix
|
||||
];
|
||||
|
14
nixos/syncthing.nix
Normal file
14
nixos/syncthing.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
relaysEnabled = true;
|
||||
settings = {
|
||||
devices = {
|
||||
ryzen-shine = { id = "63NX4LF-DHG7DLP-P6BHDKL-QL7TFXE-3DEGJ6G-TUBNXYS-UMI35KF-BV67WQP"; };
|
||||
biskcomp = { id = "63SZFEC-AVA7MAL-MRJCZXN-3J4MKY6-52CK37Q-EQDN27P-7LOTYFX-UTL7YA3"; };
|
||||
nixquick = { id = "LSRG4WP-GHW7UV6-IUL5PQB-NWDWVIZ-R7PBGEH-RCHLFRR-7JBPQU2-WFEGPQP"; };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user