Compare commits
No commits in common. "b9c0d470c32f5f05c33b0fad3246d02b6356cfdb" and "d7983ac492b4270e43d2a06f270e579b8efe1443" have entirely different histories.
b9c0d470c3
...
d7983ac492
3 changed files with 4 additions and 3 deletions
|
@ -13,7 +13,9 @@
|
||||||
|
|
||||||
sops.secrets."syncthing/password" = {
|
sops.secrets."syncthing/password" = {
|
||||||
mode = "440";
|
mode = "440";
|
||||||
owner = "willifan";
|
group = "syncthing";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users.groups.syncthing = { };
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,6 @@ 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" ];
|
extraGroups = [ "networkmanager" "wheel" "syncthing" ];
|
||||||
shell = pkgs.bash;
|
shell = pkgs.bash;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue