From 232f195436aab76046751dcd004f890cf029586b Mon Sep 17 00:00:00 2001 From: Felix Schneider <99918022+trueberryless@users.noreply.github.com> Date: Fri, 9 Jan 2026 12:06:56 +0100 Subject: [PATCH] feat: clipbook launchd --- flake.lock | 18 +++++++++--------- flake.nix | 1 + modules/apps.nix | 3 ++- modules/launchd.nix | 10 ++++++++++ 4 files changed, 22 insertions(+), 10 deletions(-) create mode 100644 modules/launchd.nix diff --git a/flake.lock b/flake.lock index 4700281..6df8569 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1763963090, - "narHash": "sha256-zR7uDZdQUUC+gBOi4byefMvIZuSBeMC6GswGNsTgQlM=", + "lastModified": 1767104570, + "narHash": "sha256-GKgwu5//R+cLdKysZjGqvUEEOGXXLdt93sNXeb2M/Lk=", "owner": "nix-community", "repo": "home-manager", - "rev": "7702d14879e8f0148fa168e38f3eaa2650fa0d85", + "rev": "e4e78a2cbeaddd07ab7238971b16468cc1d14daf", "type": "github" }, "original": { @@ -28,11 +28,11 @@ ] }, "locked": { - "lastModified": 1763505477, - "narHash": "sha256-nJRd4LY2kT3OELfHqdgWjvToNZ4w+zKCMzS2R6z4sXE=", + "lastModified": 1767028240, + "narHash": "sha256-0/fLUqwJ4Z774muguUyn5t8AQ6wyxlNbHexpje+5hRo=", "owner": "nix-darwin", "repo": "nix-darwin", - "rev": "3bda9f6b14161becbd07b3c56411f1670e19b9b5", + "rev": "c31afa6e76da9bbc7c9295e39c7de9fca1071ea1", "type": "github" }, "original": { @@ -44,11 +44,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1763969171, - "narHash": "sha256-ubsB+FO1CwQH4Ke2DMreVKPkoYidK7TKIX/NBzHb86s=", + "lastModified": 1767271343, + "narHash": "sha256-2SKP6RLgSZDD4mXxxVlObRGFaGp5gaaxlFNf+DUV/Lg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "73a1844dfa1143e07ce0a0e285e65a555c6293a9", + "rev": "713b4f4e0399053d700d8cac3a1ee51e1354d2ba", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 0c2b28d..ab769c9 100644 --- a/flake.nix +++ b/flake.nix @@ -33,6 +33,7 @@ ./modules/fonts.nix ./modules/homebrew.nix ./modules/host-users.nix + ./modules/launchd.nix ./modules/nix-core.nix ./modules/system.nix ./modules/wallpapers.nix diff --git a/modules/apps.nix b/modules/apps.nix index fb63304..7006da7 100644 --- a/modules/apps.nix +++ b/modules/apps.nix @@ -17,9 +17,10 @@ in { eza git google-chrome + iproute2mac iterm2 jetbrains.datagrip - jetbrains.idea-ultimate + jetbrains.idea jetbrains.rider neofetch nixd diff --git a/modules/launchd.nix b/modules/launchd.nix new file mode 100644 index 0000000..808f6f6 --- /dev/null +++ b/modules/launchd.nix @@ -0,0 +1,10 @@ +{ ... }: { + launchd.user.agents.clipbook = { + serviceConfig = { + ProgramArguments = [ "/Applications/Clipbook.app/Contents/MacOS/Clipbook" ]; + KeepAlive = true; + RunAtLoad = true; + ProcessType = "Interactive"; + }; + }; +} -- 2.51.2