meta: reorganize nix-os and hosts to single directory nixos
This commit is contained in:
parent
be46e02c61
commit
cb05ce5b44
76 changed files with 54 additions and 52 deletions
|
@ -1,17 +0,0 @@
|
|||
{
|
||||
config = {
|
||||
security.polkit.extraConfig = ''
|
||||
polkit.addRule(function(action, subject) {
|
||||
// Allow to start and stop wireguard client services
|
||||
if (
|
||||
action.id == "org.freedesktop.systemd1.manage-units" &&
|
||||
subject.isInGroup("users") &&
|
||||
action.lookup("unit") &&
|
||||
action.lookup("unit").match(/^wg-quick-.*\.service$/)
|
||||
) {
|
||||
return polkit.Result.YES;
|
||||
};
|
||||
});
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue