We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5083f96 commit 3216852Copy full SHA for 3216852
users/refnode/common/darwin/default.nix
@@ -6,5 +6,6 @@
6
}: {
7
imports = [
8
./aerospace.nix
9
+ ./service-keepassxc.nix
10
];
11
}
users/refnode/common/darwin/service-keepassxc.nix
@@ -0,0 +1,20 @@
1
+{
2
+ config,
3
+ lib,
4
+ pkgs,
5
+ homeDirectory,
+ ...
+}: let
+ serviceName = "io.refnode.keepassxc";
+in {
+ launchd.user.agents.keepassxc = {
+ serviceConfig = {
12
+ Label = serviceName;
13
+ StandardOutPath = "${homeDirectory}/Library/Logs/${serviceName}.log";
14
+ StandardErrorPath = "${homeDirectory}/Library/Logs/${serviceName}.error.log";
15
+ KeepAlive = true;
16
+ RunAtLoad = true;
17
+ Program = "${pkgs.keepassxc}/Applications/KeePassXC.app/Contents/MacOS/KeePassXC";
18
+ };
19
20
+}
0 commit comments