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

1417 commits

Author SHA1 Message Date
Nathan Henrie
ed993c5038 Add system terminfo to TERMINFO_DIRS by default 2022-10-19 15:09:28 -06:00
Maximilian Bosch
115ab9a0b1
Fix manual by escaping " as well
See https://github.com/NixOS/nixpkgs/issues/196651 for context.

NOTE: untested because I haven't found a quick way to build the manual
without building a nix-darwin configuration.
2022-10-19 18:50:52 +02:00
LightQuantum
184f30c864
Fix darwin rebuild fails with flake and dry-run 2022-10-10 20:24:46 +08:00
Domen Kožar
ef56fd8979
Merge pull request #540 from thefloweringash/mandatory-features
nix: fix mandatoryFeatures in nix.buildMachines
2022-10-10 11:07:41 +02:00
Andrew Childs
d0121790d4 nix: fix mandatoryFeatures in nix.buildMachines
Copied directly from https://github.com/NixOS/nixpkgs/pull/193404
2022-10-03 12:33:21 +09:00
Daiderd Jordan
02d2551c92
Merge pull request #534 from zwhitchcox/patch-1
Add comma for clarity
2022-09-26 18:34:24 +02:00
Domen Kožar
95ba7e548d
Merge pull request #536 from DeterminateSystems/runcommand
Fix nix-darwin with recent nixpkgs
2022-09-26 00:06:28 +02:00
Graham Christensen
07f640580b rename the nixFlakes reference 2022-09-25 15:43:15 -04:00
Zane Hitchcox
2ee7b84e6b
remove duplicate "to be" 2022-09-25 15:11:18 -04:00
James Walker
a2a9f30fee
rename runCommandNoCC 2022-09-25 14:12:08 -04:00
Zane Hitchcox
3e28ca913f
Add comma for clarity 2022-09-25 13:36:11 -04:00
Domen Kožar
088c98a584
Merge pull request #530 from brianmcgee/feat/extensible-lib
feat(eval-config): make lib overridable
2022-09-20 13:45:21 +01:00
Domen Kožar
be8e20e7d3
Merge pull request #533 from Enzime/terminfo
environment: support installing terminfo files
2022-09-20 13:44:48 +01:00
Domen Kožar
caea6653b1
Merge pull request #531 from Enzime/fix-tailscale
Fix Tailscale module
2022-09-20 13:44:22 +01:00
Domen Kožar
b3de9dded8
Merge pull request #228 from malob/sudo-touchid
Add option to enable sudo authentication with Touch ID
2022-09-20 13:42:31 +01:00
Michael Hoang
f12f0f3095 environment: support installing terminfo files 2022-09-20 21:57:53 +10:00
Michael Hoang
bdd5d81b13 tailscale: prevent significant DNS footgun 2022-09-20 18:03:50 +10:00
Michael Hoang
0ae311e1c7 tailscale: fix tailscaled not running as root
Run `tailscaled` using a system daemon as it does not work as a non-root
user without `userspace-networking`.

Also, remove the broken warning relating to setting the search domain.
Manually adding the search domain to `networking.search` isn't necessary
to use only machine names to refer to other machines.
2022-09-20 18:03:17 +10:00
zimbatm
74a0e71ff2
eval-config: make lib overridable
This enables using flake lib.darwinSystem function with your custom
lib.
2022-09-19 13:45:59 +01:00
Domen Kožar
14a12e9ee7
Merge pull request #499 from Enzime/karabiner-elements
Karabiner-Elements
2022-09-19 13:32:50 +01:00
Domen Kožar
de4d41ee9f
Merge pull request #526 from lockejan/fix/font-tests
fix: adapt fonts tests to use newer module api
2022-09-18 10:10:36 +01:00
Domen Kožar
65082fa7b1
Merge pull request #516 from lockejan/docs/readme
Docs/readme
2022-09-18 10:09:52 +01:00
Domen Kožar
c703f79e3e
Merge pull request #528 from sikmir/yabai
yabai: set default package
2022-09-18 10:08:35 +01:00
Domen Kožar
127acf9c3f
Merge pull request #524 from sellout/tailscale
Add tailscale service module
2022-09-18 10:08:04 +01:00
Nikolay Korotkiy
4eed79d4ac
yabai: set default package 2022-09-16 17:46:17 +03:00
Jan Schmitt
c5a241fc64
fix: adapt fonts tests to use newer module api 2022-09-15 20:26:54 +02:00
toonn
ed1e73d01e
applications: Drop store prefix to generalize
While the Nix store is almost always at `/nix/store`, we shouldn't
assume it to be. Checking only the trailing part of the link is less
exact but removes this bad assumption.

I also added a check for the symlink's contents when overwriting it to
more accurately check whether we own it and should replace it.
2022-09-13 14:57:50 +02:00
toonn
fbe795f39d
applications: Symlink Nix Apps to /Applications
This PR supercedes #226.

So far application bundles were always linked to `~/Applications` or
`~/Applications/Nix Apps` if the former was an existing directory.

In nix-community/home-manager#1341 a conflict was found with suggested
new Home Manager behavior, where applications installed through Home
Manager would end up in `~/Applications/Home Manager Apps`. This was in
an attempt to make them discoverable through Spotlight but further
investigation suggest Spotlight does not pick up symlinked apps (details
in the issue).

However, there are other programs that expect to be able to write to
`~/Applications` so taking over the directory is unfortunate.

PR #226 dropped linking `~/Applications` and instead made sure the
directory exists so we can always link in `~/Applications/Nix Apps`.

After further discussion in #macos:nixos.org we came to the conclusion
that we shouldn't link applications to a user directory at all. Since we
manage packages for multiple users, application bundles should go in
`/Applications`.

Because previous code will likely leave a symlink at
`~/Applications/{,Nix Apps}`, which will become dangling once the path
it links to is garbage collected from the store we test to see if a link
exists and it conforms to the path we're expecting and if it does remove
it.
2022-09-13 14:57:46 +02:00
Nicolas Berbiche
9c76fbf20f
Disable taking control of ~/Applications folder
Programs like Steam add applications to ~/Applications and such.

This commit disables linking ~/Applications to nix-darwin Applications
in the /nix/store and makes nix-darwin use a subfolder within
~/Applications.
2022-09-13 14:57:46 +02:00
Greg Pfeil
7698ffce98 Remove lib.mdDoc usage 2022-09-09 11:40:42 -06:00
Greg Pfeil
cfd60e8c54 Add tailscale service module 2022-09-09 11:26:49 -06: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
Jan Schmitt
a498eb0695
docs: add short introduction
closes #68
2022-09-05 21:45:24 +02:00
Jan Schmitt
ad36f9fa06
docs: extend documentation
* mention prerequisite of nix
* explicitly mention implications when using the uninstaller.
* mention channel ownership when using nix as a daemon-service.
* add additional ways to work with the documentation.
* give another example how to run tests
2022-09-02 14:34:06 +02:00
Malo Bourgon
9b3104f90d Update changelog 2022-09-01 10:50:23 -07:00
Malo Bourgon
2ddebb3189 Improve documentation of homebrew module 2022-09-01 10:50:23 -07:00
Malo Bourgon
7710d1d7d6 Add global into a submodule
* Add `homebrew.global.autoUpdate` option.
* Remove `homebrew.global.noLock` option, and replace it with
  `hombrew.global.lockfiles`.
2022-09-01 10:50:21 -07:00
Michael Hoang
ed4d2d69a0 karabiner-elements: don't use scripts
`launchd.daemons.*.script` are stored in `/nix/store` which might not be
mounted when the launch daemon attempts to start.
2022-09-01 14:39:26 +10:00
Malo Bourgon
b547a7acb0 Create submodule for activation related homebrew options
* Adds `homebrew.onActivation` submodule.
* Moves `homebrew.autoUpdate` to `homebrew.onActivation.autoUpdate`.
* Moves `homebrew.cleanup` to `homebrew.onActivation.clean`.
* Adds new option `homebrew.onActivation.upgrade`.
2022-08-31 18:40:21 -07:00
Malo Bourgon
55e198cf5a Add somes tests for homebrew module 2022-08-30 13:30:05 -07:00
Malo Bourgon
46032bad42 Cleanup/improve homebrew module's code, documentation, and option descriptions 2022-08-30 13:30:03 -07:00
Malo Bourgon
02a38c6a89 Enable defining options for casks using submodule 2022-08-30 12:32:16 -07:00
Malo Bourgon
56031db9c1 Enable defining options for brews using submodule 2022-08-30 12:32:16 -07:00
Malo Bourgon
bd93329d6c Enable defining options for taps using submodule 2022-08-30 12:32:16 -07:00
Malo Bourgon
92da7697d1 Add homebrew.caskArgs option 2022-08-30 12:32:14 -07:00
Domen Kožar
80cec5115a
Merge pull request #512 from malob/readme-IRC-to-matrix
Update readme to point to Matrix instead of IRC
2022-08-30 20:09:00 +02:00
Domen Kožar
fb820618be
Merge pull request #510 from malob/convert-to-native-floats
Transition to using native floats for option types
2022-08-30 20:04:44 +02:00
Domen Kožar
db543d325f
Merge pull request #509 from malob/fix-warning-about-HOME
Add `-H` to `sudo nix-env [...]` calls in `darwin-rebuild.sh` to deal with warning
2022-08-30 19:56:26 +02:00
Domen Kožar
be1b9867eb
Merge pull request #511 from malob/fix-launchd-descriptions
Fix launchd options description oddities
2022-08-30 19:54:35 +02:00
Malo Bourgon
42cc9d2c27 Update readme to point to Matrix instead of IRC 2022-08-29 16:33:56 -07:00