[NixOS] Try to fix syncthings priveleges issues
This commit is contained in:
parent
7fc65965c5
commit
f289424c26
@ -55,6 +55,8 @@ inputs: { pkgs, config, ... }: {
|
||||
|
||||
services.status-notifier-watcher.enable = true;
|
||||
|
||||
services.autorandr.enable = true;
|
||||
|
||||
services.random-background = {
|
||||
enable = true;
|
||||
display = "fill";
|
||||
|
@ -29,6 +29,7 @@ in
|
||||
sync = {
|
||||
path = "~/sync";
|
||||
devices = allDevices;
|
||||
copyOwnershipFromParent = true;
|
||||
};
|
||||
};
|
||||
options = {
|
||||
|
@ -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" ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user