hosts/alyssum: add syncthing
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
This commit is contained in:
parent
ee3e0868a8
commit
abe0027e5d
2 changed files with 4 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ inputs, modules, modulesPath, ... }: {
|
{ inputs, lib, modules, modulesPath, ... }: {
|
||||||
networking.hostName = "alyssum";
|
networking.hostName = "alyssum";
|
||||||
system.stateVersion = "25.11";
|
system.stateVersion = "25.11";
|
||||||
time.timeZone = "Australia/Melbourne";
|
time.timeZone = "Australia/Melbourne";
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
tailscale
|
tailscale
|
||||||
|
|
||||||
modules.services.nginx
|
modules.services.nginx
|
||||||
|
modules.services.syncthing
|
||||||
|
|
||||||
inputs.c-garnet.nixosModule
|
inputs.c-garnet.nixosModule
|
||||||
|
|
||||||
|
|
@ -35,4 +36,5 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
me.environment = "headless";
|
me.environment = "headless";
|
||||||
|
services.syncthing.user = lib.mkForce "hana";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
let
|
let
|
||||||
dir = "/persist/shared/.syncthing";
|
dir = "/persist/shared/.syncthing";
|
||||||
uid = toString config.users.users.rin.uid;
|
uid = toString config.services.syncthing.user;
|
||||||
gid = toString config.users.groups.users.gid;
|
gid = toString config.users.groups.users.gid;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue