gitea repo

This commit is contained in:
fred 2025-06-20 11:59:24 -07:00
commit f610209aff
66 changed files with 2439 additions and 0 deletions

16
modules/misc/polkit.nix Normal file
View file

@ -0,0 +1,16 @@
{ config, ... }:
{
security.polkit.enable = true;
security.polkit.extraConfig = ''
polkit.addRule(function(action, subject) {
if ((action.id == "org.xfce.thunar" ||
action.id == "org.freedesktop.policykit.exec" ||
action.id == "org.gnome.gparted" ||
action.id == "org.freedesktop.udisks2.filesystem-mount-system") &&
subject.isInGroup("wheel"))
{
return polkit.Result.YES;
}
});
'';
}