mob next [ci-skip] [ci skip] [skip ci]
lastFile:modules/clan/personal-computer/syncthing.nix
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
clan.inventory = {
|
clan.inventory = {
|
||||||
tags = {
|
tags = {
|
||||||
@@ -12,6 +13,11 @@
|
|||||||
};
|
};
|
||||||
roles.peer.tags.emmie = { };
|
roles.peer.tags.emmie = { };
|
||||||
roles.peer.settings = {
|
roles.peer.settings = {
|
||||||
|
folders = {
|
||||||
|
Syncthing = {
|
||||||
|
path = "/var/lib/syncthing/Syncthing";
|
||||||
|
};
|
||||||
|
};
|
||||||
extraDevices = {
|
extraDevices = {
|
||||||
pixel7a = {
|
pixel7a = {
|
||||||
id = "CEUJMEG-SOHXIJF-G2FT5QB-6MZW3EN-PONI3QN-HPEIOSU-IMSLGW7-XUU6BQK";
|
id = "CEUJMEG-SOHXIJF-G2FT5QB-6MZW3EN-PONI3QN-HPEIOSU-IMSLGW7-XUU6BQK";
|
||||||
|
|||||||
4
modules/clan/personal-computer/syncthing.nix
Normal file
4
modules/clan/personal-computer/syncthing.nix
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{ config, lib, ... }:
|
||||||
|
{
|
||||||
|
services.syncthing.group = lib.optional config.services.syncthing.enable "users";
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user