syncthing: add rocm
This commit is contained in:
parent
8151acc790
commit
a3b3378118
|
@ -1,5 +1,7 @@
|
||||||
{ config, lib, pkgs, ...}:
|
{ config, lib, pkgs, ...}:
|
||||||
|
|
||||||
|
# todo: portable service and system-manager
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (config.services.syncthing)
|
inherit (config.services.syncthing)
|
||||||
dataDir
|
dataDir
|
||||||
|
@ -37,12 +39,13 @@ in
|
||||||
|
|
||||||
# nix run -- nixpkgs#syncthing generate --config="$HOME"/syncthing/.config/syncthing
|
# nix run -- nixpkgs#syncthing generate --config="$HOME"/syncthing/.config/syncthing
|
||||||
devices."bjarte".id = "C7QQYJU-PMJDP2Z-CKTAV4A-V6IFEG5-YFBGCNU-PJPCZFC-QSXKZY3-NC5WRAL";
|
devices."bjarte".id = "C7QQYJU-PMJDP2Z-CKTAV4A-V6IFEG5-YFBGCNU-PJPCZFC-QSXKZY3-NC5WRAL";
|
||||||
|
devices."rocm".id = "UFW6V4E-LMEDTYR-23BU6BP-2HEMWYB-2ARCJ4X-T67WHZX-BNCCHZ4-5GPSZQV";
|
||||||
devices."sopp".id = "ZQJEWAX-GALDJDO-FBOE5ON-M5XKXNT-PRZD3CY-S7L3XDR-PR27NYL-RZ6O7QW";
|
devices."sopp".id = "ZQJEWAX-GALDJDO-FBOE5ON-M5XKXNT-PRZD3CY-S7L3XDR-PR27NYL-RZ6O7QW";
|
||||||
/* devices."sopp".autoAcceptFolders = true; # TODO */
|
/* devices."sopp".autoAcceptFolders = true; # TODO */
|
||||||
|
|
||||||
folders."ntnu" = {
|
folders."ntnu" = {
|
||||||
path = "${dataDir}/ntnu";
|
path = "${dataDir}/ntnu";
|
||||||
devices = [ "bjarte" "sopp" ];
|
devices = [ "bjarte" "sopp" "rocm" ];
|
||||||
/* ignorePerms = false; # `false` means sync file permissions */
|
/* ignorePerms = false; # `false` means sync file permissions */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue