Compare commits

...

2 commits

Author SHA1 Message Date
willifan
b9c0d470c3 remove all reference to user syncthing 2024-12-29 01:25:24 +01:00
willifan
2cd2106b9e added syncthing.guiAddress 2024-12-29 01:10:23 +01:00
3 changed files with 3 additions and 4 deletions

View file

@ -13,9 +13,7 @@
sops.secrets."syncthing/password" = { sops.secrets."syncthing/password" = {
mode = "440"; mode = "440";
group = "syncthing"; owner = "willifan";
}; };
users.groups.syncthing = { };
} }

View file

@ -29,6 +29,7 @@ in
enable = lib.mkDefault true; enable = lib.mkDefault true;
overrideDevices = lib.mkDefault true; overrideDevices = lib.mkDefault true;
overrideFolders = lib.mkDefault true; overrideFolders = lib.mkDefault true;
guiAddress = "0.0.0.0:8384";
passwordFile = config.sops.secrets."syncthing/password".path; passwordFile = config.sops.secrets."syncthing/password".path;
settings = { settings = {
gui.user = "willifan"; gui.user = "willifan";

View file

@ -3,7 +3,7 @@
users.users.willifan = { users.users.willifan = {
isNormalUser = true; isNormalUser = true;
description = "willifan"; description = "willifan";
extraGroups = [ "networkmanager" "wheel" "syncthing" ]; extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.bash; shell = pkgs.bash;
}; };