[NixOS] Try to fix syncthings priveleges issues

This commit is contained in:
Ivan Malison 2023-08-05 19:31:34 -06:00
parent 7fc65965c5
commit f289424c26
3 changed files with 5 additions and 2 deletions

View File

@ -55,6 +55,8 @@ inputs: { pkgs, config, ... }: {
services.status-notifier-watcher.enable = true;
services.autorandr.enable = true;
services.random-background = {
enable = true;
display = "fill";

View File

@ -29,6 +29,7 @@ in
sync = {
path = "~/sync";
devices = allDevices;
copyOwnershipFromParent = true;
};
};
options = {

View File

@ -37,7 +37,7 @@
];
in {
syncthing = {
extraGroups = [ "syncthing" ];
extraGroups = [ "syncthing" "wheel" ];
home = "/var/lib/syncthing";
createHome = true;
};
@ -67,5 +67,5 @@
};
};
nix.settings.trusted-users = [ "root" "imalison" "kat" "dean" ];
nix.settings.trusted-users = [ "root" "imalison" "kat" "dean" "alex" ];
}