Compare commits
2 commits
d7983ac492
...
b9c0d470c3
Author | SHA1 | Date | |
---|---|---|---|
|
b9c0d470c3 | ||
|
2cd2106b9e |
3 changed files with 3 additions and 4 deletions
|
@ -13,9 +13,7 @@
|
||||||
|
|
||||||
sops.secrets."syncthing/password" = {
|
sops.secrets."syncthing/password" = {
|
||||||
mode = "440";
|
mode = "440";
|
||||||
group = "syncthing";
|
owner = "willifan";
|
||||||
};
|
};
|
||||||
|
|
||||||
users.groups.syncthing = { };
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue