1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-06 08:47:00 +00:00
Commit graph

622 commits

Author SHA1 Message Date
Daiderd Jordan
d5f26b4c0c
Merge pull request #216 from hercules-ci/fix-missing-option-localSystem
documentation: Don't set localSystem which doesn't exist
2020-08-17 17:10:44 +02:00
Robert Hensing
58e6ca77d9 documentation: Don't set localSystem which doesn't exist
This is safe to remove, because it is not referenced anywhere in
nix-darwin.
It should have been discovered way earlier, but a bug in the
module system has allowed this value to be defined until
fd75dc8765
2020-08-16 10:15:18 +02:00
Daiderd Jordan
7e278ba51a
enable zsh in simple example 2020-06-17 19:37:07 +02:00
Daiderd Jordan
20b9f53035
etc: add known hashes for bashrc/zsh/nix.conf 2020-06-17 19:37:07 +02:00
Daiderd Jordan
b22481d03a
etc: allow replacing files with known content
This enables replacing existing system files like /etc/bashrc by default
while keeping the safer behaviour for other files like /etc/passwd, etc.
that could potentially cause major problems for the system when replaced.
2020-06-17 19:23:31 +02:00
Daiderd Jordan
2d6479b72e
lnl: fix evaluation and switch to neovim 2020-06-14 17:03:11 +02:00
Daiderd Jordan
78434e602d
replace NIX_PATH references with regular paths 2020-06-11 19:17:06 +02:00
pjan vandaele
e7e49119bb Adds com.apple.finder CreateDesktop defaults to enable/disable desktop 2020-06-03 17:39:58 +08:00
Daiderd Jordan
eace013f6b
lnl: disable gnupg agent for secretive 2020-05-30 14:38:34 +02:00
Daiderd Jordan
6a3564296b
lnl: update functions 2020-05-30 14:38:33 +02:00
Daiderd Jordan
3d20a28b33
lnl: update fetch-nixpkgs 2020-05-30 14:38:33 +02:00
Daiderd Jordan
0ab3fab8b7
lnl: fix min-free/max-free values 2020-05-30 14:38:33 +02:00
Jörg Thalheim
eb7b41a2a0 nix: better defaults settings for maxJobs/buildCores
most users just want to use all available cores.
This commit aligns our defaults with what we do in NixOS
2020-05-30 02:14:06 +01:00
Daiderd Jordan
f55568ea4e
system: cleanup patches activation 2020-05-29 22:54:25 +02:00
Daiderd Jordan
77121650d4
system: add patches module 2020-05-29 21:29:20 +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
Daiderd Jordan
c5f7cee0ed
Merge pull request #196 from cmacrae/modules/services/yabai
module: add yabai service
2020-05-13 19:24:31 +02:00
Daniel V
5796faef94 Set up XDG system environment variables sort of how they set them up
in nixos by appending them to the nix profiles
2020-05-11 06:56:21 -04:00
cmacrae
7ef533e8d1 module: add yabai service 2020-05-10 22:35:54 +01:00
Daniel V
d3dff8cefb This fixes bash completion for me, though it may not be the best way.
Hopefully the pull request will go through or tell me how to do it better
2020-05-09 15:39:25 -04: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
Daiderd Jordan
2752bf1421
Merge pull request #192 from kalbasit/customize-label-prefix
launchd: allow customization of the default launchd prefix
2020-05-03 18:56:00 +02:00
Łukasz Niemier
784b688dd9
docs: add example 2020-04-28 22:43:13 +02:00
Łukasz Niemier
43b7a6901b
test: add tests for new service 2020-04-28 19:06:45 +02:00
Łukasz Niemier
b30a04c00c
ft: add DNSmasq service
This is useful for redirecting some TLDs to the different addresses. For
example I use it to make all requests to `*.localhost` to be resolved to
loopback address which allows me to easily work and test services that
are relying on different domains.
2020-04-28 18:49:08 +02:00
Wael M. Nasreddine
cee84f4ea0 launchd: allow customization of the default launchd prefix 2020-04-14 15:01:37 -07:00
Nejc Zupan
c4970fbc4e
Be nicer 2020-04-12 18:21:07 +01:00
Nejc Zupan
a67e6977c4
Add support for system.defaults.screencapture.disable-shadow 2020-04-12 18:18:46 +01:00
Jason Felice
ff77fcadc2 Rename programs.tmux.tmuxConfig -> extraConfig 2020-03-29 13:58:58 -04:00
Daiderd Jordan
1436543221
nix: kickstart and wait for the nix-daemon service 2020-03-28 19:18:21 +01:00
Daiderd Jordan
80a8a591a9
installer: try creating /run using synthetic.conf
Since macOS 10.15 Catalina / can't be changed directly anymore.

Fixes #166
2020-03-28 19:12: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
6a255bd47c
lnl: update 2020-02-29 23:49:53 +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
3d50598ae0
users: ensure uniqueness of gid/uid entries
Instead of a cryptic error during activation conflicting ids are now
caught during evaluation.

    error: The option `users.uids.30001' has conflicting definitions
2020-02-11 16:41:40 +01:00
Daiderd Jordan
3201be1bd4
Merge pull request #168 from input-output-hk/pre-commands-buildkite
buildkite: add preCommands option
2020-01-28 08:26:42 +01:00
Daiderd Jordan
a14315c96e
Merge pull request #175 from treffynnon/more-system-defaults
[system.defaults] more sound, firewall/alf, spaces, loginwindow, SoftwareUpdate
2020-01-21 12:22:17 +01:00
Daiderd Jordan
3b3ae7ab7d
Merge pull request #178 from Kaali/lazy-bash
Let bash load completions lazily
2020-01-21 12:21:16 +01:00
Väinö Järvelä
e1000fc1a6
bash: Let bash load completions lazily
As described in detail here: https://github.com/NixOS/nixpkgs/issues/32533
bash will load completion scripts in $p/share/bash-completion/completions/ on
startup instead of letting bash-completion do it's lazy loading. Bash startup
will then slow down (very noticeable when bash-completion is installed in a
profile).

This commit leaves loading of scripts in the hands of bash-completion,
improving startup time for everyone using `enableCompletion`.

Fixes #101
2020-01-21 12:18:28 +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
Daiderd Jordan
7175f52860
Merge pull request #182 from wildsebastian/fix_commitIdFromGitRepo_call
Remove trailing slash from path in commitIdFromGitRepo call
2020-01-15 11:07:12 +01:00
Sebastian Wild
78f931cb53
Remove trailing slash from path
A change of `commitIdFromGitRepo` in nixpkgs/lib/sources.nix
resulted in the error message
"attribute '.git' missing at nixpkgs/lib/sources.nix:7:32" when
executing darwin-rebuils switch.
The commit with the change is
c9214c394b

Removing the trailing slash resolves the error.
2020-01-15 09:17:33 +01:00
cmacrae
11e6e68c99 defaults: introduce NSGlobalDomain option for "_HIHideMenuBar" 2020-01-01 20:51:31 +00:00
Thibault Gagnaux
547ccd60b4 Replaces cp with rsync to prevent partial copies across filesystems. 2019-12-22 22:31:34 +01:00
Thibault Gagnaux
a5d863ee64 fonts: Adds support if Nix is on another filesystem.
On Catalina, the default way is to install Nix on a new volume which breaks hardlinking the font files. If that is the case I just copy them.
2019-12-22 14:52:01 +01:00
Simon Holywell
39bc7bb131
fix autologin name docs 2019-11-04 15:28:38 +10:00
Simon Holywell
42c8f9bce3
adds com.apple.SoftwareUpdate 2019-11-04 14:54:31 +10:00
Simon Holywell
6100c826d4
adds com.apple.loginwindow 2019-11-04 14:35:56 +10:00
Simon Holywell
626a112ce3
adds com.apple.spaces 2019-11-04 14:35:21 +10:00