1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-15 17:51:01 +00:00
Commit graph

87 commits

Author SHA1 Message Date
Michael Hoang
2861a0421b Use flake based command for uninstaller in README
Fixes #918

This command should work on both non-flake and flake based setups as it
does not require `nixpkgs` to be set in `NIX_PATH`.

Also remove the manual install section as it is unmaintained as far as I
can tell.
2024-08-24 13:07:05 +10:00
Emily
cbde36ce62 readme: update stable Nixpkgs to 24.05 2024-06-13 14:35:20 +01:00
Weijia Wang
1098e60e92 ci, readme: update stable nixpkgs to 23.11 2024-04-18 18:29:24 +02:00
Basil Feitknecht
c18685e773
update README.md
fixed minor typo
2024-03-12 16:11:23 +01:00
vegabook
319104a125 Improve flakes documentation in README
Co-Authored-By: Michael Hoang <enzime@users.noreply.github.com>
2023-11-23 10:31:55 +11:00
Michael Hoang
b658dbd85a
Update README 2023-09-22 16:17:42 +01:00
Carl Thomé
6cd2f4cea2
Replace hostname with LocalHostName 2023-09-19 01:03:22 +02:00
Johan Bloemberg
dd73866955
Fix example configuration for flake migration 2023-08-04 22:18:10 +02:00
Michael Hoang
4511c29a72 flake: use nix-darwin instead of darwin 2023-07-12 10:36:14 +10:00
Michael Hoang
63af129cb5 etc: use .before-nix-darwin instead of .orig 2023-07-12 08:35:36 +10:00
Michael Hoang
22620845fe readme: update with new flaky instructions 2023-07-11 18:59:05 +10:00
Michael Hoang
5288a72354 Allow flaky installation with darwin-rebuild 2023-07-11 18:59:05 +10:00
Emily
f9724c4543 eval-config: rationalize handling of Nixpkgs
This is a big change that disentangles a lot of mistaken assumptions
about mixing multiple versions of Nixpkgs, treating external flake
inputs as gospel for the source of Nixpkgs and nix-darwin, etc.;
the end result should be much simpler conceptually, but it will be a
breaking change for anyone using `eval-config.nix` directly. Hopefully
that shouldn't be a big issue, as it is more of an internal API and
it's quite likely that existing uses may have been broken in the same
way the internal ones were.

It was previously easy to get into a state where your `lib` comes
from nix-darwin's `nixpkgs` input or a global channel and your
`pkgs` comes from another major version of Nixpkgs. This is pretty
fundamentally broken due to the coupling of `pkgs` to its corresponding
`lib`, but the brokenness was hidden much of the time until something
surfaced it. Now there is exactly one mandatory `lib` input to system
evaluation, and the handling of various additional options like `pkgs`
and `system` can be done modularly; maintaining backwards compatibility
with the previous calling convention is punted to the `default.nix`
and `lib.darwinSystem` entry points. `inputs` is no longer read by
nix-darwin or special in any way, merely a convention for user code,
and the argument is retained in the entry points only for backwards
compatibility.

All correct invocations of the entry points should keep working
after this change, and some previously-broken ones should be fixed
too. The documentation and template have been adjusted to show the
newly-recommended modular way of specifying various things, but no
deprecation warnings have been introduced yet by this change.

There is one potential, mostly cosmetic regression:
`system.nixpkgsRevision` and related options are less likely to be
set than before, in cases where it is not possible to determine the
origin of the package set. Setting `nixpkgs.source` explicitly will
make this work again, and I hope to look into sending changes upstream
to Nixpkgs to make `lib.trivial.revisionWithDefault` behave properly
under flakes, which would fix this regression and potentially allow
reducing some of the complexity.

Fixes: #669
2023-07-09 11:21:40 +01:00
Emily
a62f16b94d readme: update links for redirect 2023-06-25 06:43:54 +01:00
Emily
42d1643e7a {ci,readme}: update stable nixpkgs to 23.05
22.11 is deprecated and can no longer generate the manual.
2023-06-24 10:48:55 +01:00
Lauren Yim
1fc5d125fb
docs: clarify how to use inputs with flakes
This commit clarifies that in order to access `inputs` in a host configuration, the `inputs` argument must be used. This commit also documents how `specialArgs` can be used to access the inputs as arguments directly.
2023-06-12 16:08:03 +10:00
Jan Schmitt
a379f9afe7
docs: update flake snippet to 22.11 2023-04-28 13:26:04 +02:00
Domen Kožar
3db1d870b0
Merge pull request #586 from hercules-ci/add-hercules-ci-agent
Add `services.hercules-ci-agent`
2023-01-03 13:46:21 +00:00
Robert Hensing
617604488e Add meta.maintainers option 2022-12-22 20:18:53 +01:00
Alaina Newmark
023af2a1a2
Remove inaccurate notice for uninstaller in README 2022-12-20 15:36:30 -06:00
Jan Schmitt
7d0d40ed26
docs: update flake input for example 2022-11-18 08:39:52 +01:00
rockofox
64fbf13a8f
Correct capitalisation of NixOS
Spell NixOS with capital OS like it's on the official website, etc. This is just a really small change, but it just bugs me :p
2022-10-26 14:37:53 +02:00
Zane Hitchcox
2ee7b84e6b
remove duplicate "to be" 2022-09-25 15:11:18 -04:00
Zane Hitchcox
3e28ca913f
Add comma for clarity 2022-09-25 13:36:11 -04: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
42cc9d2c27 Update readme to point to Matrix instead of IRC 2022-08-29 16:33:56 -07:00
Daiderd Jordan
a13e52e658
simplify synthetic.conf install commands 2022-01-02 11:50:06 +01:00
Kid
d75a4fcf4d
Add manual install command to create symlink after 10.15 Catalina 2021-12-06 21:43:50 +08:00
Drew Hess
9f7e95887f
Pass system to darwinSystem rather than eval-config.
This allows us to specify what kind of darwinSystem we want to build,
rather than determining it at evaluation time.
2021-09-08 13:05:18 +01:00
Cormac Relf
774ab69801
List the configuration file location in README
I don't have unlimited time to read through the manual installation instructions just to see where the config file goes when I forget.
It's not great either that the first line of the README has a path that means nothing at all on macOS. That could be better too
but I'm not going to update the project's top tagline in a PR.
2021-05-04 14:26:54 +10:00
Daiderd Jordan
7e4b134554
add flake build example to readme 2020-12-19 10:13:35 +01:00
Daiderd Jordan
3be9bc7b3e
remove bootstrap.sh from readme 2020-10-25 11:52:28 +01:00
Daiderd Jordan
2f258bc917
link readme to the flakes wiki 2020-10-25 11:49:59 +01:00
Daiderd Jordan
362c04011b
readme flakes section 2020-10-21 18:30:57 +02:00
Daiderd Jordan
e44188bf4c
update badge 2020-03-28 19:24:59 +01:00
Dmitry Pogodin
5cd178c7f1
Fix path to darwin-config 2019-10-17 15:59:00 +03:00
Daiderd Jordan
3ab430289f
add link to manual and wiki 2019-05-04 16:10:39 +02:00
Daiderd Jordan
166560ca76
Merge pull request #102 from peel/f-fonts-module
initialise fonts module
2018-10-11 19:10:42 +02:00
Piotr Limanowski
c2d7870587 adds info on automatic removal of manually-added fonts 2018-10-04 20:40:19 +02:00
Thane Gill
487bec1a6f
Remove Security link from README
Doesn't exist anymore
2018-10-02 11:49:32 -07:00
Daiderd Jordan
f190254679
examples: remove nix-repl and nixUnstable references 2018-08-21 22:42:33 +02:00
Daiderd Jordan
133b43a2cf
readme: update with better example config 2018-03-26 22:47:40 +02:00
Daiderd Jordan
ed29ade5ce
add uninstall section to the manual 2018-01-16 00:58:13 +01:00
Daiderd Jordan
d44ac23e06
update README with installer instructions 2018-01-14 19:29:30 +01:00
Daiderd Jordan
335baf7936
add users to README 2018-01-13 23:28:11 +01:00
Daiderd Jordan
ca5c600c7a
add system.keyboard to README 2018-01-11 21:44:28 +01:00
Daiderd Jordan
5a52850a03 update README 2018-01-03 23:07:32 +01:00
Daiderd Jordan
bb98816c86
add tests section to the README 2017-11-05 22:16:51 +01:00
Daiderd Jordan
5a79244a7e
readme: add nix-channel instructions to the manual install section 2017-10-10 22:21:30 +02:00