···1717 webkitgtk_4_1
1818 ];
1919 pname = "paretosecurity";
2020- version = "0.1.9";
2020+ version = "0.2.12";
21212222 src = fetchFromGitHub {
2323 owner = "ParetoSecurity";
2424 repo = "agent";
2525 rev = finalAttrs.version;
2626- hash = "sha256-KJs4xC3EtGG4116UE+oIEwAMcuDWIm9gqgZY+Bv14ac=";
2626+ hash = "sha256-skBxDPC+C8JU1CW6g3SA2C4IawaoPzVi8pdl5BCutUY=";
2727 };
28282929- vendorHash = "sha256-3plpvwLe32AsGuVzdM2fSmTPkKwRFmhi651NEIRdOxw=";
2929+ vendorHash = "sha256-YnyACP/hJYxi4AWMwr0We4YUTbWwahKAIYN6RnHmzls=";
3030 proxyVendor = true;
31313232 ldflags = [
···5151 install -Dm444 ${finalAttrs.src}/apt/paretosecurity-trayicon.service $out/lib/systemd/user/paretosecurity-trayicon.service
5252 substituteInPlace $out/lib/systemd/user/paretosecurity-trayicon.service \
5353 --replace-fail "/usr/bin/paretosecurity" "$out/bin/paretosecurity"
5454+5555+ # Install .desktop files
5656+ install -Dm444 ${finalAttrs.src}/apt/ParetoSecurity.desktop $out/share/applications/ParetoSecurity.desktop
5757+ substituteInPlace $out/share/applications/ParetoSecurity.desktop \
5858+ --replace-fail "/usr/bin/paretosecurity" "$out/bin/paretosecurity"
5959+ install -Dm444 ${finalAttrs.src}/apt/ParetoSecurityLink.desktop $out/share/applications/ParetoSecurityLink.desktop
6060+ substituteInPlace $out/share/applications/ParetoSecurityLink.desktop \
6161+ --replace-fail "/usr/bin/paretosecurity" "$out/bin/paretosecurity"
6262+6363+ # Install icon
6464+ install -Dm444 ${finalAttrs.src}/assets/icon.png $out/share/icons/hicolor/512x512/apps/ParetoSecurity.png
5465 '';
55665667 passthru.tests = {
···7485 root helper that allows you to run the checker in userspace. Some checks
7586 require root permissions, and the checker asks the helper to run those.
76877777- Additionally, if you enable `services.paretosecurity.trayIcon`, you get a
7878- little Vilfredo Pareto living in your systray showing your the current
7979- status of checks. This will also enable a systemd timer to update the
8080- status of checks once per hour.
8888+ Additionally, using the NixOS module gets you a little Vilfredo Pareto
8989+ living in your systray showing your the current status of checks. The
9090+ NixOS Module also installs a systemd timer to update the status of checks
9191+ once per hour. If you want to use just the CLI mode, set
9292+ `services.paretosecurity.trayIcon` to `false`.
81938294 Finally, you can run `paretosecurity link` to configure the agent
8395 to send the status of checks to https://dash.paretosecurity.com to make