78 Commits
Author SHA1 Message Date
Sam 585cd058e8 ci: bump macOS version (13 -> 14)
The runners from macOS 14 on default to aarch64, so this will also
transition us away from x86_64
2025-08-14 20:53:51 -07:00
Michael Hoang 0d3dcc55f3 ci: enable merge queue 2025-05-25 14:14:52 +10:00
Emily 516dbe1fa4 darwin-rebuild: require running as root 2025-05-16 16:34:31 +01:00
Emily 2c77fdbfba ci: deploy the website from GitHub Actions 2025-03-28 19:44:24 +00:00
Ihar HrachyshkaandGitHub 1d9f622484 Revert "Add networking.hosts and .hostFiles from nixos " 2025-02-26 09:24:15 -05:00
ibizaman bde9fa6f64 add networking.hosts and .hostFiles from nixos 2025-02-24 08:57:05 +01:00
Emily 2733527a58 {environment,readme}: default configuration path to /etc/nix-darwin 2025-01-27 23:10:14 +00:00
Emily 1e16e2a9c2 ci: use the PR head as <darwin> for install test
This was installing against the base branch, which causes annoying
issues when things like the state version are bumped. It’s possible
this was intentional to test the upgrade path, but it’s inconsistent
with the flake installation test and keeps breaking stuff on my
PRs. If we want to test the upgrade path then we could re‐add it
again later in a more sophisticated manner (e.g. using the example
config from the previous version).
2025-01-27 20:04:09 +00:00
Emily c7b33c131f ci: only test one version 2025-01-13 00:09:00 +00:00
Sam 0680f9e9e1 ci, readme: update stable nixpkgs to 24.11 2024-12-31 22:29:22 +00:00
Michael Hoang 82ed8010ff ci: extend timeout and remove tmate 2024-11-23 12:39:13 +11:00
Michael Hoang d57e74864b uninstaller: always specify --extra-experimental-features first
See https://github.com/NixOS/nix/issues/11891
2024-11-21 11:07:47 +11:00
Michael Hoang 2ca27ba780 ci: source /etc/bashrc instead of /etc/static/bashrc
This should no longer be necessary after #687, as we can be sure that if
activation succeeded, that `/etc/bashrc` points to `/etc/static/bashrc`.
2024-11-21 11:07:47 +11:00
Michael Hoang 9fe8a0a738 ci: check that switching to new configurations works after installation 2024-11-21 11:07:47 +11:00
Michael Hoang a4d4d12e38 examples: change default architecture to aarch64-darwin 2024-11-21 11:07:47 +11:00
Michael Hoang 60ed03d0b1 installer: remove 2024-11-21 11:07:47 +11:00
Michael Hoang 65ea368ebb installer: move channel creation to README 2024-11-21 11:07:47 +11:00
Michael Hoang 9a1bea70d5 installer: move creating default configuration to README 2024-11-21 11:07:47 +11:00
Michael Hoang 7918e24e5b treewide: remove nix.package example 2024-11-17 01:11:27 +11:00
Michael Hoang 293589065d ci: fix manual not being regenerated when non-Nix files are updated
This also fixes the README not being updated on the website as well
2024-11-09 21:28:09 +11:00
Michael Hoang a89c851923 ci: don't override nixpkgs when building the manual
This causes `nix-darwin` to not have `rev` or `dirtyRev`
2024-11-09 20:37:50 +11:00
Michael Hoang 222c3cb558 ci: fix uninstaller failing to run in install-against-unstable 2024-11-07 18:53:19 +11:00
Michael Hoang 7bbc7c5db6 ci: test uninstallation of nix-darwin using flakes 2024-11-07 18:52:15 +11:00
Michael Hoang ebca0c23c9 uninstaller: switch to writeShellApplication
By not defining a `shellHook`, `nix-shell -A uninstaller` and
`nix-shell -A uninstaller.check` no longer work.
2024-11-07 18:52:15 +11:00
Michael Hoang 223a920ab4 ci: upgrade actions/checkout 2024-11-07 15:26:53 +11:00
Michael Hoang 37b591bd8b ci: remove unused workflows 2024-11-07 15:26:53 +11:00
Michael Hoang e0f243d17e ci: run nix flake check 2024-11-07 15:26:53 +11:00
Michael Hoang 68637ee7db flake: expose jobs from release.nix as a flattened attrset 2024-11-07 15:26:53 +11:00
Michael Hoang 07db4e57d3 ci: switch to macos-13
The `macos-12` runner image will be removed by 3 Dec 2024.
2024-11-05 10:41:56 +11:00
Michael Hoang 53b9de4d6c ci: remove tests to ensure submodules work 2024-11-03 12:56:25 +11:00
EmilyandGitHub 64d9d1ae25 Merge pull request #1112 from Enzime/push-wkxpqmxomwxp
ci: don't run tests twice for PRs from forks
2024-10-22 07:37:24 +01:00
Michael Hoang cbb190eccb ci: update Nix to match versions in nixpkgs 2024-10-22 14:56:25 +11:00
Michael Hoang 8724129dc8 ci: don't run tests twice for PRs from forks
By only triggering on pushes to `master`, when users push to
non-`master` branches on forks, this workflow won't get triggered and
will only get triggered when users make a PR to the main repo.
2024-10-22 14:35:08 +11:00
EmilyandGitHub 9d7aebb303 Merge pull request #1073 from emilazy/push-xxvyptqvpqxw
ci/update-manual: use Nixpkgs 24.05
2024-09-12 14:12:07 +01:00
Emily 537097b331 ci/update-manual: use Nixpkgs 24.05 2024-09-12 10:41:47 +01:00
Emily 98189683a4 ci: use Determinate Systems installer for stable Nix 2024-09-11 00:37:08 +01:00
Emily f29c6fc015 ci: use Nix 2.24.6 for unstable jobs
Includes the Sequoia installer fixes.
2024-09-11 00:37:08 +01:00
Emily bda49fe089 ci: update stable Nixpkgs to 24.05 2024-09-11 00:37:08 +01:00
Michael Hoang 8ef57d17a4 .github: add sponsorship details 2024-08-21 10:32:59 +10:00
Weijia Wang 1098e60e92 ci, readme: update stable nixpkgs to 23.11 2024-04-18 18:29:24 +02:00
Michael Hoang 49ae6b92ff fix: tests failing to build on unstable Nix
Use Nix 2.13.6 which is the default version for NixOS 23.05.
2023-11-24 09:53:59 +11:00
Michael Hoang a86a6f8b71 workflows: use nix-darwin instead of darwin 2023-07-13 22:39:28 +10:00
Michael Hoang cad8954f75 etc: fail if we can't add a file
Fixes #598
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
Daiderd Jordan 25ae710ba3 also update README in gh-pages 2023-06-25 13:07:55 +02:00
Emily df03a145b3 ci: update manual updater to 23.05
Fix https://github.com/LnL7/nix-darwin/issues/709.
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
toonn cd87d92320 GHActions: Bump install-nix-action to v22
Not all workflows were updated but some were, this fixes the
inconsistency.
2023-06-18 20:03:45 +02:00
Michael Hoang 8d13a55f1c workflows: fix Nix install on macos-12 2023-06-17 22:57:44 +10:00
Michael Hoang f532e43f7e templates.flake: add contents of simple.nix 2023-06-17 22:57:44 +10:00