sayncthing ig

This commit is contained in:
martyTF 2025-12-18 18:06:02 +01:00
parent cef112b672
commit 22a2d35ae8
12 changed files with 283 additions and 15 deletions

View file

@ -31,5 +31,20 @@
};
imports = [ ./hardware.nix ];
security.polkit = {
enable = true;
extraConfig = ''
polkit.addRule(function(action, subject) {
if (
subject.isInGroup("users")
&& (
action.id == "org.freedesktop.login1.suspend"
)
)
{
return polkit.Result.YES;
}
});
'';
};
}