mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-15 11:00:53 -06:00
fix: syncthing cucked
This commit is contained in:
parent
1eacc3aa09
commit
2cd05e31fc
15 changed files with 64 additions and 23 deletions
|
|
@ -3,7 +3,7 @@
|
|||
...
|
||||
}:
|
||||
let
|
||||
inherit (import ../../helpers.nix) labHelpers;
|
||||
inherit (import ../../../helpers.nix) labHelpers;
|
||||
inherit (labHelpers)
|
||||
guestPath
|
||||
mediaPath
|
||||
|
|
@ -81,13 +81,6 @@ let
|
|||
"d /var/lib/${serviceCfg.name}/misc 0755 ${serviceCfg.name} ${serviceCfg.name} -"
|
||||
];
|
||||
|
||||
tmpRulesOut = user: [
|
||||
"d ${guestPath user} 0751 microvm wheel - -"
|
||||
"d ${docsPath user} 0751 microvm wheel - -"
|
||||
"d ${mediaPath user} 0751 microvm wheel - -"
|
||||
"d ${miscPath user} 0751 microvm wheel - -"
|
||||
];
|
||||
|
||||
syncthingNick =
|
||||
let
|
||||
phoneID = "OALKHLZ-OODUWVX-PAC2LI7-UMZMSZO-FELLRCD-RS4DHJS-PVA5YQK-WTFXXQI";
|
||||
|
|
@ -102,8 +95,7 @@ let
|
|||
folders = foldersHelper user0;
|
||||
devices = devicesHelper user0 phoneID "Phone" "192.168.50.8";
|
||||
mounts = mountsHelper user0;
|
||||
tmpIn = tmpRulesIn;
|
||||
tmpOut = tmpRulesOut user0;
|
||||
tmp = tmpRulesIn;
|
||||
};
|
||||
in
|
||||
syncthingNick
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue