1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00
Commit graph

170 commits

Author SHA1 Message Date
Daiderd Jordan
252541bd05
Merge pull request #638 from aerialls/screensaver
feat(screensaver): add support of askForPassword and askForPasswordDelay
2023-05-10 23:42:22 +02:00
Roman Melnikov
da2c0a74ca
buildkite-agent: update module
Update module to look it similar to what it currently present in
'nixpkgs'. Mainly, to provide support for running multiple
buildkite-agents.
2023-05-10 16:26:20 +08:00
Julien Brochet
2303eed571
feat(screensaver): add support of askForPassword and askForPasswordDelay 2023-04-30 14:11:40 +02:00
Slim Lim
6774344719 Add option to set 24-hour time
Normally, the system region setting determines whether the clock uses
12- or 24-hour time. This flag allows users to override this setting and
use 24-hour time even if their region does not.
2022-12-13 15:42:25 -08:00
Domen Kožar
4182ad42d5
Merge pull request #553 from n8henrie/issue_543
Add system terminfo to TERMINFO_DIRS by default
2022-11-15 17:44:04 +00:00
Pavel Shirshov
c946ee42fa #517: custom preferences for 'defaults' can be specified 2022-10-24 13:12:54 +01:00
Nathan Henrie
6b73d2c605 Type: TERMINFO_DIRS not TERMINFO 2022-10-20 14:49:26 -06:00
Nathan Henrie
ed993c5038 Add system terminfo to TERMINFO_DIRS by default 2022-10-19 15:09:28 -06:00
Jan Schmitt
c5a241fc64
fix: adapt fonts tests to use newer module api 2022-09-15 20:26:54 +02:00
Domen Kožar
3b69bf3cc2
Merge pull request #498 from malob/improve-homebrew-module
Add ability to configure all known Brewfile line arguments with `homebrew` module
2022-09-06 16:35:28 +01:00
Malo Bourgon
55e198cf5a Add somes tests for homebrew module 2022-08-30 13:30:05 -07:00
Malo Bourgon
5fa362c32f Transition to using native floats 2022-08-29 15:39:16 -07:00
Domen Kožar
5af1aa51f6
Merge pull request #490 from malob/update-nix-module
Bring `nix` module back in sync with the NixOS module (as much as possible)
2022-08-22 09:55:24 +02:00
Domen Kožar
b344a20e80
Merge pull request #471 from tianyaochou/fix-alias-shell-escape
add escape to shell aliases
2022-08-22 09:52:46 +02:00
Jan Schmitt
fbca12e524
feat: provide option to display the appswitcher on all displays 2022-08-20 22:48:59 +02:00
Malo Bourgon
f75b461ae2 Fix tests failing due to Nix version check 2022-08-16 17:41:13 -07:00
Tianyao Chou
a3cab812ac add escape to shell aliases 2022-06-30 19:21:36 +02:00
Daiderd Jordan
1a387b8b3e
Merge pull request #447 from dsyang/additional-options
add options for configuring activity monitor
2022-04-25 23:03:55 +02:00
Brian Leung
af3eb87e82
Add NSGlobalDomain.NSAutomaticWindowAnimationsEnabled setting
* modules/system/defaults/NSGlobalDomain.nix: Define.
2022-03-25 23:04:45 -07:00
Dan Yang
faaa12ad24 add options for configuring activity monitor 2022-03-14 10:17:35 -07:00
Dan Yang
37e42a9fe4 add option to show hidden files everywhere 2022-03-14 10:04:28 -07:00
Chris Montgomery
1cf5705283
defaults: add options for common universalaccess settings 2021-12-24 17:52:17 -05:00
Mario Rodas
f3aa13d141 spotifyd: add spotifyd service 2021-03-11 04:20:00 +00:00
Łukasz Niemier
bd75d14b0f
fix: use separate config option to set port of DNSmasq
Older approach seems to not work on macOS 11 Big Sur for some reason.
2021-01-28 14:09:30 +01:00
Daiderd Jordan
57df59ea2d
Merge pull request #247 from happysalada/fix_nextdns
nextdns: add to modulelist
2020-12-06 15:21:49 +01:00
happysalada
dcbc6a4433 nexdns: add module and tests 2020-11-27 11:28:26 +09:00
Andrew Seward
5d0ed66ba9 Add options for swipe navigation
One for trackpad, one for mouse. I don't know much about the mouse side
of things, but thought I'd at least include it to be comprehensive.
2020-11-14 22:51:54 -08:00
Daiderd Jordan
1145503ef9
Merge pull request #242 from akrmn/lorri-path
add git, gnutar and gzip to lorri's path
2020-11-05 21:17:53 +01:00
Moisés Ackerman
d037dfaf20 add git, gnutar and gzip to lorri's path 2020-11-05 11:43:50 +01:00
Andrew Seward
fe814c5e91 Add some test coverage for redis service 2020-11-02 19:26:39 -08:00
Daiderd Jordan
079db5db5b
don't set SHELL automatically based on programs.<shell>.enable 2020-10-25 16:37:02 +01:00
c4710n
bf0ac204bd add new option - system.keyboard.swapLeftCommandAndLeftAlt 2020-10-23 22:47:38 +08:00
Daiderd Jordan
88faa8fbae
Merge pull request #223 from malob/networking
Add separate options for ComputerName and LocalHostName in networking module
2020-09-12 09:36:55 +02:00
Malo Bourgon
df4e6b697e Add separate options for ComputerName, HostName, and LocalHostName 2020-08-31 21:01:47 -07:00
Thibault Gagnaux
1dbe3b71e3 Disable StandardOutPath by default and refactor test to using plutil 2020-08-31 13:07:06 +02:00
Thibault Gagnaux
91504bd926 Removes zsh and getEnv and adds needed NIX_PATH env. 2020-08-30 18:06:40 +02:00
Thibault Gagnaux
30593350fd Makes it work. 2020-08-29 16:35:43 +02:00
Thibault Gagnaux
11413f94b2 Adds lorri service. 2020-08-29 16:35:43 +02:00
Shardul Baral
97729d1e79
Separate yabai config and extra config by newline
If a user passes both `config` and `extraConfig` to the `yabai` serivce,
the generated `yabairc` file is invalid. This is because we do not add a
newline separator when we concatenate the config string generated by
`toYabaiConfig cfg.config` with `cfg.extraConfig`.

This PR prepends a newline to `cfg.extraConfig` if it is non-empty so
that the resulting `yabairc` config is valid.
2020-05-15 15:38:57 -04:00
cmacrae
7ebda10e40 module: add spacebar service 2020-05-14 19:41:28 +01:00
cmacrae
7ef533e8d1 module: add yabai service 2020-05-10 22:35:54 +01:00
Daiderd Jordan
f885aff4c9
Merge pull request #195 from hauleth/ft/add-dnsmasq-service
Add DNSmasq service
2020-05-03 18:57:17 +02:00
Łukasz Niemier
43b7a6901b
test: add tests for new service 2020-04-28 19:06:45 +02:00
Wael M. Nasreddine
cee84f4ea0 launchd: allow customization of the default launchd prefix 2020-04-14 15:01:37 -07:00
Daiderd Jordan
1436543221
nix: kickstart and wait for the nix-daemon service 2020-03-28 19:18:21 +01:00
Daiderd Jordan
1ffae69c56
Merge pull request #169 from tricktron/fix/fonts-catalina
fonts: Adds support if Nix is on another filesystem.
2020-03-03 19:19:21 +01:00
Daiderd Jordan
5fba29c1c8
nix-daemon: use wait4path
This prevents the service from starting (and thus failing) before the
nix store is mounted.
2020-02-24 22:38:32 +01:00
Daiderd Jordan
267f50e63d
replace list values for types.loaOf
This type has been deprecated in nixpkgs, these options will be
replaced with types.attrsOf in the future.
2020-01-21 12:11:32 +01:00
Thibault Gagnaux
547ccd60b4 Replaces cp with rsync to prevent partial copies across filesystems. 2019-12-22 22:31:34 +01:00
Thibault Gagnaux
f5dd959832 Fixes the failing font test 2019-12-22 14:52:01 +01:00
Daiderd Jordan
3fde04a384
tmux: add test for #173 2019-11-02 17:18:39 +01:00
Daiderd Jordan
be7f25b3f9
Merge pull request #155 from toonn/defaults-write-GlobalPreferences
Add defaults write for the alert sound
2019-09-01 09:58:01 +02:00
toonn
88d27c62d5 Add defaults write for the alert sound
Found in `System Preferences`->`Sound`->`Sound Effects`, the default is `Funk`.
2019-08-19 16:02:59 +02:00
Jason Felice
c3d9dceede Allow configuring external keyboard to use standard F-keys 2019-07-22 11:05:48 -04:00
Jason Felice
26c6e5f758 port autossh service from nixos 2019-07-02 10:44:34 -04:00
Daiderd Jordan
af7cd05699
launchd: add basic test for daemons/agents 2019-03-22 20:49:53 +01:00
Wael M. Nasreddine
41a00f14b4
users: gate the creation with an option, false by default and use createhomedir 2019-02-24 22:13:45 +01:00
Daiderd Jordan
6c6c8f2164
users.users: only extend profiles if packages are defined 2019-02-23 12:00:39 +01:00
Wael M. Nasreddine
af347fe1ec
copy systemPackages test to userPackages 2019-02-20 08:39:44 -08:00
Wael M. Nasreddine
4ffabd184a
users: install user packages via users.users.<name?>.packages 2019-02-20 08:20:32 -08:00
Daiderd Jordan
4d892e7774
fonts: rewrite activation
The new implementation is a bit smarter and only updates fonts that
changed.  But more importantly /run/current-system isn't used anymore
which breaks initial activation and installs the previous set of fonts
instead of the one in the new system.

Fixes #115
2019-02-17 11:31:40 +01:00
Daiderd Jordan
e812130e5d
system-packages: fix test 2019-01-18 23:36:15 +01:00
Daiderd Jordan
a1c56d5492
system-packages: verify libraries are not linked
By default environment.pathsToLink does not include /lib so libraries
should not be exposed directly in the system output.
2019-01-18 23:18:45 +01:00
Daiderd Jordan
236d9b0c2d system-packages: make test actually check the expected behaviour 2019-01-18 23:13:42 +01:00
Daiderd Jordan
629fa53498
nix-daemon: use system NIX_SSL_CERT_FILE
Otherwise the daemon wouldn't honor extra certificates from the
security.pki options.
2019-01-16 22:47:19 +01:00
Daiderd Jordan
c50ba6a354
security.pki: add test for ca-certificates.crt 2019-01-15 22:14:56 +01:00
Daiderd Jordan
462ec30cb3
checks: add test for nix-gc user validation 2019-01-04 00:50:14 +01:00
Daiderd Jordan
f05d6a858f
nix-gc: add test 2019-01-03 20:59:23 +01:00
Andrew Childs
b5fc279d1b Combine system environment tests and add zsh 2018-10-29 09:12:20 +09:00
Andrew Childs
676ef10377 Unify environment configuration and don't run in child shells
This should enable `nix run` to work under shells like fish and zsh,
as well as making child shells not needlessly reset any environment
that should be inherited.

Implementation adapted from NixOS.
2018-10-25 01:00:52 +09:00
Daiderd Jordan
5fa894c90a
tests: avoid depending on an actual font package 2018-10-12 22:03:40 +02:00
Piotr Limanowski
00cd92968e skip buildEnv and create a package with /share/fonts 2018-10-06 20:38:01 +02:00
Piotr Limanowski
2a53ac278f fonts: adds enableFontDir flag
For NixOS compatibility reasons we're using enableFontDir flag that
in turn enables/disables font management in /Library/Fonts directory.
2018-10-05 22:27:29 +02:00
Piotr Limanowski
8fe33a584e adds recursive font searching 2018-10-04 13:14:45 +02:00
Piotr Limanowski
6d0cf2d842 add tests for fonts 2018-10-02 19:59:23 +02:00
Mario Rodas
6d5dcd60eb synapse-bt: Add basic test 2018-09-15 15:37:22 -05:00
Daiderd Jordan
c49311408b
Merge pull request #99 from Enzime/add/synergy-service
synergy: Add module for client and server
2018-09-14 22:57:51 +02:00
Daiderd Jordan
48f3ed6301
nix: only set NIX_REMOTE for nix 1.11
This isn't needed anymore, nix 2.0 figures this out automatically now.
2018-09-14 21:40:19 +02:00
Michael Hoang
32d7297f98 synergy: Add tests for config options 2018-09-14 21:01:08 +10:00
Daiderd Jordan
6418523767
Merge pull request #92 from carlosdagos/privoxy-service
Add a privoxy service
2018-08-03 19:35:16 +02:00
Carlos D
41a6a40f53 Add a privoxy service 2018-08-02 10:09:22 +10:00
Periklis Tsirakidis
17af73ddd5
Fix args passing to execvp 2018-08-01 19:40:59 +02:00
Daiderd Jordan
9987c71c83
nix-daemon: add tests 2018-06-21 15:22:12 +02:00
Periklis Tsirakidis
b85d89a1ae Init offlineimap service 2018-06-04 16:25:07 +02:00
Rodney Lorrimar
6d6d11fdad fixup! buildkite-agent: fix variable expansion in hook scripts
Addresses PR review comment.
2018-05-10 11:43:49 +01:00
Daiderd Jordan
bb9fe63acd
ssh: add basic tests for known hosts 2018-03-06 21:21:48 +01:00
Daiderd Jordan
84a3fcadd0
ofborg: add basic test 2018-03-05 23:00:50 +01:00
Daiderd Jordan
f1f6a81b9a
buildkite: remove package from test closure 2018-03-05 21:46:12 +01:00
Daiderd Jordan
25b2f87b58
skhd: add basic test 2018-03-05 21:41:52 +01:00
Daiderd Jordan
f4af8cd677
add screencapture option to defaults-write test 2018-03-01 21:41:38 +01:00
Rodney Lorrimar
48d6fe551d buildkite-agent service: add test case 2018-02-26 18:19:22 +00:00
Daiderd Jordan
b761ee79a3
zsh: add test for most options 2018-01-20 23:00:24 +01:00
Daiderd Jordan
e3281c90cf
defaults: move com.apple.smb.server to /activate
Currently fails with permission errors.
2018-01-17 23:10:57 +01:00
Daiderd Jordan
d4b34322c5
networking: don't set NetBIOSName
This doesn't look like the hostname on my system, it has an extra unique prefix.
2018-01-17 20:09:24 +01:00
Daiderd Jordan
d8380cdd80
users: test isHidden = false; 2018-01-16 00:58:13 +01:00
Daiderd Jordan
46d6951fd2
activation-scripts: add test for pre/post hooks 2018-01-14 16:08:27 +01:00
Daiderd Jordan
ca420b2f9e
users: add test for group membership 2018-01-14 13:31:15 +01:00
Daiderd Jordan
535701cb7f
users: update test for user creation/deletion 2018-01-13 14:04:38 +01:00
Daiderd Jordan
5df343aae5
networking: rename networkservices -> knownNetworkServices 2018-01-13 02:13:51 +01:00
Daiderd Jordan
9e87afcb4e
users: add test for group creation/deletion 2018-01-13 02:05:45 +01:00