diff --git a/nixos/full.nix b/nixos/full.nix index ba9a0d2f..edca85c2 100644 --- a/nixos/full.nix +++ b/nixos/full.nix @@ -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 ]; } diff --git a/nixos/machines/biskcomp.nix b/nixos/machines/biskcomp.nix index 31c415cf..9c6b76ab 100644 --- a/nixos/machines/biskcomp.nix +++ b/nixos/machines/biskcomp.nix @@ -3,6 +3,7 @@ ../internet-computer.nix ../raspberry-pi.nix ../base.nix + ../syncthing.nix # ../desktop.nix # ../xmonad.nix ]; diff --git a/nixos/syncthing.nix b/nixos/syncthing.nix new file mode 100644 index 00000000..0c38631b --- /dev/null +++ b/nixos/syncthing.nix @@ -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"; }; + }; + }; + }; +}