summaryrefslogtreecommitdiff
path: root/modules/services
AgeCommit message (Collapse)Author
2025-01-16Merge branch 'LnL7:master' into masterHEADmasterMike Vink
2025-01-10openssh: init moduleMichael Hoang
2024-12-29aerospace: add workspace-to-monitor-force-assignment option and fix ↵thuvasooriya
on-window-detected type #1208 trying to fix #1142 testing requested changes adding workspace to monitor force assignment remove formatting tests pass proper tests undo formatting tests for on-window-detected and workspace-to-monitor-force-assignment testing submodules cleanup n if fiz checking final toml null field aerospace callback issue custom null filter for submodule list check for no presense of window-regex and if.workspace config check aerospace: add workspace-to-monitor-force-assignment option and fix on-window-detected type #1208 trying to fix #1142 testing requested changes adding workspace to monitor force assignment remove formatting tests pass proper tests undo formatting tests for on-window-detected and workspace-to-monitor-force-assignment testing submodules cleanup n if fiz checking final toml null field aerospace callback issue custom null filter for submodule list check for no presense of window-regex and if.workspace config check error formatting mishap space left small fix formatting mishaps
2024-12-07github-runner: add instructions for triggering a runner registrationMichael Hoang
2024-12-07github-runner: fix service not startingMichael Hoang
2024-12-07github-runner: use `lib.getExe{,'}`Michael Hoang
2024-12-07github-runner: remove `with lib;`Michael Hoang
2024-12-04fix(aerospace): allow startup commandsz0al
2024-11-22github-runner: make `umask` quietMichael Hoang
2024-11-16nix-daemon: enable by defaultMichael Hoang
Single user installs have been unsupported by the official Nix installer since 2.4.
2024-11-16nix-daemon: remove `with lib;`Michael Hoang
2024-11-15activate-system: remove `enable` optionMichael Hoang
Disabling this is not supported as `/run` gets cleared out on every reboot so it is necessary for ensuring that the `/run/current-system` symlink exists.
2024-11-07github-runner: Fix labels for different nixpkgs versionsYuriy Taraday
Changes to escapeShellArg introduced in https://github.com/NixOS/nixpkgs/pull/333744 made different versions of nixpkgs behave differently. If current nix-darwin is used with nixpkgs before that change, labels end up having labels quoted twice (see https://github.com/LnL7/nix-darwin/issues/1085), but without changes from https://github.com/LnL7/nix-darwin/pull/1055, with new nixpkgs, labels end up not quoted at all, and ShellCheck ends up complaining that commas might have been used as array item separator (see https://www.shellcheck.net/wiki/SC2054). Use the old version of escapeShellArg to always escape the list of labels and make nix-darwin work with both old and new versions of nixpkgs. Fixes https://github.com/LnL7/nix-darwin/issues/1085
2024-11-07buildkit-agents: don't use `mkdir -p -m`Michael Hoang
As `cfg.dataDir` will be the `home` of the Buildkite Agent user, it is guaranted to exist so we don't need to use the `-p` flag.
2024-11-07github-runner: replace `mkdir -p -m` with `umask`Michael Hoang
`mkdir -p -m` only applies the mode on the deepest directory which could be a security issue so we use umask to be more careful.
2024-11-07ofborg: automatically add `ofborg` to `known{Users,Groups}`Michael Hoang
2024-11-05prometheus-node-exporter: fix log permissionsEmily
The daemon won’t start as the assigned user doesn’t have permissions to create the log file.
2024-11-04Merge pull request #1129 from mweinelt/node-exporterEmily
module: add prometheus-node-exporter service
2024-10-31karabiner-elements: allow use of custom packageBenoît de Chezelles
2024-10-31module: add prometheus-node-exporter serviceMartin Weinelt
2024-10-26Add keepalive flag for emacs serviceIhar Hrachyshka
2024-10-19style fixesNick Hu
2024-10-16module: add aerospace serviceNick Hu
2024-10-14skhd: add `skhd` to `PATH`Michael Hoang
2024-10-13Merge pull request #794 from fesplugas/patch-1Michael Hoang
fix: postgresql service initdb
2024-10-04Merge pull request #1095 from aspauldingcode/masterMichael Hoang
jankyborders service option order above or below
2024-10-04Merge pull request #1077 from rsrohitsingh682/add-netadataMichael Hoang
feat: add netdata service
2024-10-03netdata: add netdata service in nix-darwin.Rohit Singh
2024-10-02Update modules/services/jankyborders/default.nixAlex S.
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
2024-10-01add JankyBorders option order and set below by default (values: above/below)aspauldingcode
2024-09-28fix: karabiner elements virtualhiddeviceclientwill
- command needed to be quoted
2024-09-22feat: use wait4path with script launchd optionwill
addresses https://github.com/LnL7/nix-darwin/issues/1043 fix: use exec in launchd daemon config fix: dont use a script thats in the nix store fix: remove manual wait4path in linux-builder fix: remove manual wait4path in karabiner elements fix: remove manual wait4path in nix-daemon fix: remove manual wait4path in nix-optimise fix: remove manual wait4path in tailscaled fix: autossh test Revert "fix: remove manual wait4path in nix-daemon" This reverts commit 6aec084fa5d095666e81676e78f7054c83703faa. fix: remove bad exec Reapply "fix: remove manual wait4path in nix-daemon" This reverts commit c8f136ecc555f803124af471324bc6ed1163d6dd. fix: update autossh test to reflect changes in f86e6133d957becb1958da638516b0860fbd7491 fix: services-activate-system-changed-label-prefix test fix: services-buildkite-agent test fix: services-activate-system test fix: escape ampersand fix: services-lorri test fix: services-nix-optimise test fix: services-nix-gc test refactor: use script rather than command in daemon fix: use config.command for clarity style: fix indentation fix: use lib.getExe rather than directly pointing to file revert: a87fc7bbbbdb7c25c5ad6721c93990ea035affdd - mistaken refactor meant that service waited for nix store and not the relevant path
2024-09-06nixos/github-runner: quote comma separators so as to pass shellcheckSirio Balmelli
Shellcheck complains: > args=( > ^-- SC2054 (warning): Use spaces, not commas, to separate array elements. Quote the --labels argument to resolve. Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-07-27github-runners: move `workDir` outside of `/run`Michael Hoang
As `/run` gets recreated every reboot and we can't specify dependencies for launchd, creating the `workDir` every reboot will require extra complexity with a separate daemon that runs as `root` otherwise it won't have sufficient privileges. As we clean the `workDir` when the service first starts anyway, it ends up being the same.
2024-07-27Revert "github-runnners: fix workDir missing on reboot"Michael Hoang
This reverts commit fe99aa9699e7dd4ce6a81a8a623d010cedbe7eef.
2024-07-23github-runnners: fix workDir missing on rebootMichael Hoang
2024-07-22chore: removing deprecations for 25.05 nixNikola Milojević
2024-07-21Merge pull request #973 from amsynist/modules/services/jankybordersEmily
module : `jankyborders` for window borders Configuration
2024-07-21module: add jankyborders servicePrav!n
- Added the jankyborders service. - Introduced changes for whitelist and blacklist options and assertions. - emoved path reference from launchd argument. - Corrected missing trailing newline in default.nix.
2024-07-08nextdns: fix argument handlingHenrique Goncalves
2024-07-01chore: remove mkpackageoptionmd deprecationNikola Milojević
2024-06-09fix(launchd): improve `StartCalendarInterval`Tyler Miller
Stricter launchd -> StartCalendarInterval type: - Verify that the integers passed to `Minute`, `Hour`, etc. are within range. - When provided, the value for StartCalendarInterval must be a non-empty list of calendar intervals and must not contain duplicates entries (throw an error otherwise). - For increased flexibility and backwards-compatibility, allow an attrset to be passed as well (which will be type-checked and is functionally equivalent to passing a singleton list). Allowing an attrset or list is precisely in-line with what `launchd.plist(5)` accepts for StartCalendarInterval. Migrate `nix.gc.interval` and `nix.optimise.interval` over to use this new type, and update their defaults to run weekly instead of daily. Create `modules/launchd/types.nix` file for easier/modular use of launchd types needed in multiple files. Documentation: - Update and improve wording/documentation of launchd's `StartCalendarInterval`. - Improve wording/documentation of `nix.gc.interval` and `nix.optimise.interval` ("time interval" can be misleading as it's actually a "calendar interval"; e.g. `{ Hour = 3; Minute = 15;}` runs daily, not every 3.25 hours).
2024-05-21hercules-ci-agent: fix crash calling `security`zowoq
this applies the same fix that was used for the cachix agent in e043606b50526f4b9eb14d983f406acec9548962
2024-05-16cachix-agent: fix crash calling `security`Sander
One of cachix-agent's dependencies, `hs-certificate`, makes calls to `security`. This lives in `/usr/bin`, which isn't available from launchd. This commit makes the system paths available to cachix-agent. Fixes #924.
2024-04-24nix-daemon: increase SoftResourceLimits.NumberOfFileszowoq
1048576 matches the nixos/nix plist https://github.com/NixOS/nix/blob/e3a4e40a354e1c2d177541d24d6a86a001fa87c7/misc/launchd/org.nixos.nix-daemon.plist.in#L29
2024-04-19treewide: remove lib.mdDocWeijia Wang
2024-04-05Merge branch 'LnL7:master' into masterMike Vink
2024-03-27Add `nix.optimise` moduleMalo Bourgon
2024-03-13Merge pull request #725 from mitchmindtree/trezordMichael Hoang
2024-03-04Merge pull request #767 from jmmaloney4/masterMichael Hoang
a few fixes for ipfs module