forked from colonelpanic/dotfiles
[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.status-notifier-watcher.enable = true;
|
||||||
|
|
||||||
|
services.autorandr.enable = true;
|
||||||
|
|
||||||
services.random-background = {
|
services.random-background = {
|
||||||
enable = true;
|
enable = true;
|
||||||
display = "fill";
|
display = "fill";
|
||||||
|
@ -29,6 +29,7 @@ in
|
|||||||
sync = {
|
sync = {
|
||||||
path = "~/sync";
|
path = "~/sync";
|
||||||
devices = allDevices;
|
devices = allDevices;
|
||||||
|
copyOwnershipFromParent = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
options = {
|
options = {
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
syncthing = {
|
syncthing = {
|
||||||
extraGroups = [ "syncthing" ];
|
extraGroups = [ "syncthing" "wheel" ];
|
||||||
home = "/var/lib/syncthing";
|
home = "/var/lib/syncthing";
|
||||||
createHome = true;
|
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