Compare commits
2 commits
91abcbed19
...
abe0027e5d
| Author | SHA1 | Date | |
|---|---|---|---|
| abe0027e5d | |||
| ee3e0868a8 |
3 changed files with 5 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, modules, modulesPath, ... }: {
|
||||
{ inputs, lib, modules, modulesPath, ... }: {
|
||||
networking.hostName = "alyssum";
|
||||
system.stateVersion = "25.11";
|
||||
time.timeZone = "Australia/Melbourne";
|
||||
|
|
@ -24,6 +24,7 @@
|
|||
tailscale
|
||||
|
||||
modules.services.nginx
|
||||
modules.services.syncthing
|
||||
|
||||
inputs.c-garnet.nixosModule
|
||||
|
||||
|
|
@ -35,4 +36,5 @@
|
|||
];
|
||||
|
||||
me.environment = "headless";
|
||||
services.syncthing.user = lib.mkForce "hana";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
dir = "/persist/shared/.syncthing";
|
||||
uid = toString config.users.users.rin.uid;
|
||||
uid = toString config.services.syncthing.user;
|
||||
gid = toString config.users.groups.users.gid;
|
||||
in
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{ config, ... }: {
|
||||
age.secrets.tailscale_auth.file = ../../secrets/tailscale_auth.age;
|
||||
me.binds."/var/lib/tailscale" = "tailscale";
|
||||
networking.firewall.trustedInterfaces = [ "tailscale0" ];
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
authKeyFile = config.age.secrets.tailscale_auth.path;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue