flakes/hosts/alyssum/home.syncthing.nix

22 lines
547 B
Nix
Raw Normal View History

2026-06-17 19:49:10 +10:00
{ config, ... }: {
me.binds."/home/kujira/.config/syncthing" = "kujira/syncthing/config";
me.binds."/home/kujira/.local/state/syncthing" = "kujira/syncthing/state";
users.users.kujira = {
hashedPasswordFile = config.age.secrets.passwd.path;
isNormalUser = true;
linger = true;
};
home-manager.users.kujira = { ... }: {
home = {
username = "kujira";
homeDirectory = "/home/kujira";
stateVersion = "26.05";
};
2026-06-17 19:49:10 +10:00
services.syncthing = {
enable = true;
guiAddress = ":8385";
};
};
}