mob next [ci-skip] [ci skip] [skip ci]

lastFile:inventories/emmie.nix
This commit is contained in:
2026-03-12 16:01:22 +07:00
parent 6b65a8101b
commit df33190e96
2 changed files with 13 additions and 5 deletions

View File

@@ -1,4 +1,8 @@
{ config, ... }:
let
username = "emmie";
userhome = "/home/${username}";
in
{
clan.inventory = {
tags = {
@@ -15,7 +19,7 @@
roles.peer.settings = {
folders = {
Syncthing = {
path = "/var/lib/syncthing/Syncthing";
path = "${userhome}/Share/Syncthing";
};
};
extraDevices = {
@@ -26,6 +30,14 @@
};
};
};
roles.peer.extraModules = [
{
config.services.syncthing = {
user = username;
dataDir = "${userhome}/Share";
};
}
];
};
};
};

View File

@@ -1,4 +0,0 @@
{ config, lib, ... }:
{
services.syncthing.group = lib.mkIf config.services.syncthing.enable (lib.mkForce "users");
}