Compare commits
No commits in common. "f868c157c508aac6b4302f2971575a3a9243ed6a" and "eb3af3b1f9b432aa0048b131d5f1c9a8caf80d94" have entirely different histories.
f868c157c5
...
eb3af3b1f9
@ -18,10 +18,6 @@
|
||||
onlyoffice-bin
|
||||
|
||||
krita
|
||||
|
||||
wireshark
|
||||
tcpdump
|
||||
nmap
|
||||
];
|
||||
|
||||
# Wireshark
|
||||
|
@ -7,7 +7,6 @@
|
||||
../../configuration/proxmox-vm
|
||||
|
||||
./nixfiles-updated-inputs.nix
|
||||
./polkit-test.nix
|
||||
];
|
||||
|
||||
boot.loader.grub.enable = true;
|
||||
|
@ -1,29 +0,0 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
|
||||
security.polkit.enable = true;
|
||||
security.polkit.extraConfig = ''
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (
|
||||
action.id == "org.freedesktop.systemd1.manage-units"
|
||||
&& action.lookup("unit") == "update-from-hydra-olimex-esp32-poe.service"
|
||||
&& action.lookup("verb") == "start"
|
||||
&& subject.user == "clerie"
|
||||
) {
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
'';
|
||||
|
||||
services.update-from-hydra.paths.olimex-esp32-poe = {
|
||||
enable = true;
|
||||
hydraUrl = "https://hydra.clerie.de";
|
||||
hydraProject = "clerie";
|
||||
hydraJobset = "olimex-esp32-poe";
|
||||
hydraJob = "olimex-esp32-poe";
|
||||
nixStoreUri = "https://nix-cache.clerie.de";
|
||||
resultPath = "/srv/olimex-esp32-poe";
|
||||
};
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user