···17 webkitgtk_4_1
18 ];
19 pname = "paretosecurity";
20- version = "0.1.9";
2122 src = fetchFromGitHub {
23 owner = "ParetoSecurity";
24 repo = "agent";
25 rev = finalAttrs.version;
26- hash = "sha256-KJs4xC3EtGG4116UE+oIEwAMcuDWIm9gqgZY+Bv14ac=";
27 };
2829- vendorHash = "sha256-3plpvwLe32AsGuVzdM2fSmTPkKwRFmhi651NEIRdOxw=";
30 proxyVendor = true;
3132 ldflags = [
···51 install -Dm444 ${finalAttrs.src}/apt/paretosecurity-trayicon.service $out/lib/systemd/user/paretosecurity-trayicon.service
52 substituteInPlace $out/lib/systemd/user/paretosecurity-trayicon.service \
53 --replace-fail "/usr/bin/paretosecurity" "$out/bin/paretosecurity"
0000000000054 '';
5556 passthru.tests = {
···74 root helper that allows you to run the checker in userspace. Some checks
75 require root permissions, and the checker asks the helper to run those.
7677- Additionally, if you enable `services.paretosecurity.trayIcon`, you get a
78- little Vilfredo Pareto living in your systray showing your the current
79- status of checks. This will also enable a systemd timer to update the
80- status of checks once per hour.
08182 Finally, you can run `paretosecurity link` to configure the agent
83 to send the status of checks to https://dash.paretosecurity.com to make
···17 webkitgtk_4_1
18 ];
19 pname = "paretosecurity";
20+ version = "0.2.12";
2122 src = fetchFromGitHub {
23 owner = "ParetoSecurity";
24 repo = "agent";
25 rev = finalAttrs.version;
26+ hash = "sha256-skBxDPC+C8JU1CW6g3SA2C4IawaoPzVi8pdl5BCutUY=";
27 };
2829+ vendorHash = "sha256-YnyACP/hJYxi4AWMwr0We4YUTbWwahKAIYN6RnHmzls=";
30 proxyVendor = true;
3132 ldflags = [
···51 install -Dm444 ${finalAttrs.src}/apt/paretosecurity-trayicon.service $out/lib/systemd/user/paretosecurity-trayicon.service
52 substituteInPlace $out/lib/systemd/user/paretosecurity-trayicon.service \
53 --replace-fail "/usr/bin/paretosecurity" "$out/bin/paretosecurity"
54+55+ # Install .desktop files
56+ install -Dm444 ${finalAttrs.src}/apt/ParetoSecurity.desktop $out/share/applications/ParetoSecurity.desktop
57+ substituteInPlace $out/share/applications/ParetoSecurity.desktop \
58+ --replace-fail "/usr/bin/paretosecurity" "$out/bin/paretosecurity"
59+ install -Dm444 ${finalAttrs.src}/apt/ParetoSecurityLink.desktop $out/share/applications/ParetoSecurityLink.desktop
60+ substituteInPlace $out/share/applications/ParetoSecurityLink.desktop \
61+ --replace-fail "/usr/bin/paretosecurity" "$out/bin/paretosecurity"
62+63+ # Install icon
64+ install -Dm444 ${finalAttrs.src}/assets/icon.png $out/share/icons/hicolor/512x512/apps/ParetoSecurity.png
65 '';
6667 passthru.tests = {
···85 root helper that allows you to run the checker in userspace. Some checks
86 require root permissions, and the checker asks the helper to run those.
8788+ Additionally, using the NixOS module gets you a little Vilfredo Pareto
89+ living in your systray showing your the current status of checks. The
90+ NixOS Module also installs a systemd timer to update the status of checks
91+ once per hour. If you want to use just the CLI mode, set
92+ `services.paretosecurity.trayIcon` to `false`.
9394 Finally, you can run `paretosecurity link` to configure the agent
95 to send the status of checks to https://dash.paretosecurity.com to make