summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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-29tests: add screencapture.target test caseFilip Kania
2024-12-04test(aerospace): assert config valuesz0al
2024-12-01defaults: expose-group-by-app -> expose-group-appsAustin Horstman
Default was renamed in previous macOS release.
2024-12-01defaults: add `EnableTiledWindowMargins` optionBeta-Computer
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
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-12fix(defaults): fixing #1107Lucas Mendes Loureiro
2024-11-12feat(defaults): adding support to control centerLucas Mendes Loureiro
2024-11-03Merge pull request #1125 from aschleck/new-window-pathMichael Hoang
Configure the folder that new Finder windows open
2024-11-02Allow configuring the fn key actionApril Schleck
2024-11-02Configure the folder that new Finder windows openApril Schleck
2024-10-28users: create users with home directory `/var/empty` by defaultMichael Hoang
2024-10-28users: replace FDA check with more fine grained permissions checkMichael Hoang
2024-10-27users: allow `shell` to be managed by macOSMichael Hoang
2024-10-27users: change default shell to `/usr/bin/false` to match macOSMichael Hoang
2024-10-27users: allow `home` to be managed by macOSMichael Hoang
2024-10-27users: update properties on known usersMichael Hoang
2024-10-27tests: fix old test getting messed up in refactorMichael Hoang
https://github.com/LnL7/nix-darwin/commit/2788e4fa981566e34fa40938705cd7f595f05e74#diff-0642dcb4e551dcf07032904ee7f6b7ea645db36939f159908ccb2b85a2bbd1b8L53
2024-10-27tests: fix negative asserts with `grep` not workingMichael Hoang
Using `grep -v` without `-z` will return 0 even if there is a match found as all the non-matching lines will be matched. Instead of using `grep -vqz`, `(! grep ...)` is more readable. The brackets are necessary as `! grep` will not trigger `set -e`[0], so we run it inside a subshell to use its non-zero exit code. [0]: https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#The-Set-Builtin
2024-10-24power,sleep: Add options to control restart and sleep behaviorPhilip Børgesen
2024-10-24networking: Add wakeOnLan optionPhilip Børgesen
2024-10-24Merge pull request #1106 from NickHu/aerospaceMichael Hoang
module: add aerospace service
2024-10-23users: ensure Full Disk Access is granted before trying to delete usersMichael Hoang
2024-10-22users: use `lib.escapeShellArg` for group descriptionMichael Hoang
2024-10-22users: use `lib.escapeShellArg` for `createhomedir`Michael Hoang
2024-10-22users: use `lib.escapeShellArg` for `dscl` pathsMichael Hoang
2024-10-22networking: use `lib.escapeShellArgs` instead of custom versionMichael Hoang
2024-10-22users: use `lib.escapeShellArgs` instead of custom versionMichael Hoang
2024-10-22users: use `lib.escapeShellArgs` for `sysadminctl -addUser`Michael Hoang
2024-10-22users: use `lib.escapeShellArg` for `sysadminctl -deleteUser`Michael Hoang
2024-10-22Use `sysadminctl` instead of `dscl`Andrew Lubawy
Co-authored-by: Michael Hoang <enzime@users.noreply.github.com>
2024-10-19style fixesNick Hu
2024-10-16module: add aerospace serviceNick Hu
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-03push change to jankyborders testaspauldingcode
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-18add tests for finder optionsNiklas Ravnsborg
2024-09-16add `NSGlobalDomain.AppleSpacesSwitchOnActivate` optionNiklas Ravnsborg
2024-09-12{bash,zsh}: remove nix-shell early return in /etc/{bashrc,zshenv}Antoine Cotten
The condition does not match the comment, and therefore not the original intention. It currently returns early in *any* type of Nix shell, not just pure ones, including 'nix develop'. Besides being unnecessary, this check prevents Nix shells from functioning properly. For instance, it causes the initialization of the Zsh fpath to be skipped, which is critical. The fact that the user is unable to opt out of this behaviour makes this an ever bigger problem since /etc/zshenv is being loaded unconditionally by Zsh. For reference, NixOS does not perform such check, and apparently never did.
2024-09-10tests/users-groups: update for `lib.escapeShellArg` changeEmily
2024-09-10tests/networking-hostname: update for `lib.escapeShellArg` changeEmily
2024-08-05(feature) Add swapLeftCtrlAndFnMaxime Daffis
Use this and never find yourself again hitting fn because of muscle memory! (you can even physically swap the keycaps, at least on M series) Keycodes have been pulled from https://hidutil-generator.netlify.app/ and the hex value has been converted to a base 10 int.
2024-08-02(feature) Add Stage Manager (com.apple.WindowManager) settings as ↵Maxime Daffis
system.defaults.windowmanager All credits go to @AlexOwl. Their [PR](https://github.com/LnL7/nix-darwin/pull/505) looked abandonned so I reported their changes and addressed the change requests.
2024-07-24Add inline prediction option mirroring the capitalization option347Online | Katie Janzen
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-10Merge pull request #976 from emilazy/openssh-use-links-for-authorized-keysEmily
ssh: use symlinks for `authorizedKeys` options
2024-07-08nextdns: fix argument handlingHenrique Goncalves