Commit graph

461 commits

Author SHA1 Message Date
Graham Christensen 95045cf8c0
flake-compat: use flakehub (#663) 2023-10-03 10:47:17 -07:00
Ana Hobden b68cf8b56c
Upgrade to Nix 2.18.1 (#661) 2023-10-03 10:07:35 -07:00
Ana Hobden 25ed45fc1b
Unmount apfs volumes before deleting them (#662) 2023-10-03 10:07:17 -07:00
Ana Hobden d01e1b820c
Release v0.13.0 (#652) 2023-09-28 17:02:45 -07:00
Ana Hobden 042873d7d6
Reintroduce 640, 638, 627 (#651)
* Reintroduce 640, 638, 627

* fmt
2023-09-28 22:58:31 +00:00
Ana Hobden b0bdd3ddef
Revert "Release v0.12.1 (#649)" (#650)
This reverts commit af06724a5e.
2023-09-28 22:35:57 +00:00
Ana Hobden af06724a5e
Release v0.12.1 (#649) 2023-09-28 14:35:35 -07:00
Ana Hobden fc6d611285
Revert "Make nix.conf changes deterministic (#620)" (#648)
* Revert "Make nix.conf changes deterministic (#620)"

This reverts commit 05571a4990.

* fmt

* Prod ci
2023-09-28 13:53:14 -07:00
Ana Hobden 3c7297e6ab
v0.12.1-unreleased (#644)
* v0.12.0-unreleased

* v0.12.1-unreleased...
2023-09-27 15:01:58 +00:00
Ana Hobden aed05e9a5c
Release v0.12.0 (#641) 2023-09-25 13:36:51 -07:00
Ana Hobden ff6ee246ae
Tweak nix-build-user-count default in all places (#643) 2023-09-25 12:43:45 -07:00
Ana Hobden da7e44e40e
Fixup VM tests (#642) 2023-09-25 08:43:11 -07:00
Ana Hobden 6bee48c11e
Enable repl-flake experimental feature (#640)
* Enable repl-flake experimental feature

* fmt
2023-09-22 12:06:42 -07:00
Ana Hobden 1da69eef4a
Plan prompts for sudo (#639)
* Plan prompts for sudo

* clippy/fmt
2023-09-22 18:08:01 +00:00
Ana Hobden 8911329beb
Upgrade to Nix 2.18 (#637) 2023-09-22 10:45:23 -07:00
Ana Hobden 7669045865
Disable auto-allocate-uids on Linux too (#638)
* Disable auto-allocate-uids on Linux too

* Fix clippy/fmt
2023-09-22 10:44:40 -07:00
Ana Hobden abfde74d1f
Add support for URLs or paths in --nix-package-url and --extra-conf (#634)
* Add support for URLs or paths in --nix-package-url and --extra-conf

* fmt

* Into a mod with you, tests!
2023-09-20 19:10:56 +00:00
Graham Christensen 60e5fff623
Support user-defined diagnostics attribution (#635)
* Switch to flakehub

* Diagnostics: support user-defined attribution.

Allows a user to specify an additional value to associate their diagnostics with that value. nix-installer doesn't generate or store these values, and most users have no need for it.

* Respond to feedback
2023-09-20 11:23:23 -07:00
Ana Hobden 1c103edb90
Set max-jobs in nix.conf (#627) 2023-09-13 17:38:40 +00:00
Ana Hobden 05571a4990
Make nix.conf changes deterministic (#620)
* Make nix.conf changes deterministic

* Add mac fixture

* Warn/error if user settings don't match our needs

* Repair mac fixture

* fmt

* clipster

* Tidy up some feedback

* fmt

* resolve some nits
2023-09-13 17:02:05 +00:00
Ana Hobden 0cd1d4bb03
Fix uninstall instructions (#631) 2023-09-13 09:56:00 -07:00
Ana Hobden b3dcf07f58
Check for file existence before attempting to open it (#626)
* Check for file existence before attempting to open it

* Fixup
2023-09-13 09:55:44 -07:00
Ana Hobden dd36129aa2
Improve --help (#624) 2023-09-13 09:52:41 -07:00
Ana Hobden dd6edfb5eb
Uninvert logic (#623) 2023-09-13 09:38:42 -07:00
Miguel 34d0b7e4f0
Add Upgrading section to README.md (#598)
* Add Upgrading section to README.md

* Change upgrading note README.md

* Change upgrading section at README.md

Remove note.
Add explanation of which version will be installed.

* Use an h3 instead

* A bit less detail...

---------

Co-authored-by: Ana Hobden <operator@hoverbear.org>
2023-09-06 11:20:37 -07:00
Ana Hobden d7412ba096
Readme cutificiation (#618)
* Engage README cutification subroutine

* Trimming
2023-09-06 08:12:47 -07:00
Ana Hobden 8395b40223
Bump dependencies (#619) 2023-09-01 08:28:25 -07:00
Graham Christensen 974e65d331
Update README.md a bit. (#616) 2023-08-29 14:14:47 +00:00
Graham Christensen 1575695e7b
Language and readme update (#612)
Language and readme update
2023-08-22 21:14:41 -04:00
Ana Hobden 329861feca
Release v0.11.0 (#602) 2023-08-14 12:08:33 -07:00
Ana Hobden 72bc65b2ab
Enable clippy on CI (#574)
* Enable clippy on CI

* Use rustc in check-clippy...
2023-08-14 10:00:34 -07:00
Ana Hobden b870f97c0e
Improve the message when security delete-generic-password is required (#570)
* Improve the message when security delete-generic-password is required

* Spelling

* Use sudo in recommendation
2023-08-10 17:42:22 +00:00
Ana Hobden 5e68cf127b
Check versions on uninstall for safety (#579) 2023-08-10 10:23:07 -07:00
Martin Wimpress c31535a824
Nix 2.15.0 -> Nix 2.17.0 (#597) 2023-08-03 08:16:06 -07:00
Ana Hobden 55cbf41a00
Make self-test errors a warning only (#587) 2023-07-25 11:17:52 -07:00
Ana Hobden ff20fc04b3
Fix the Mac CI with Silverblue (#591) 2023-07-24 11:44:28 -07:00
Hofer-Julian e84fd2bed9
Add support for ostree-based Linux distributions (#586)
* Add support for ostree-based Linux distributions

Fixes #389
I've tested this planner on Fedora Silverblue and Endless OS

* Stop duplicating check functions

* Remove `init` cli flag
2023-07-24 11:10:20 -07:00
Ana Hobden a049e52fd8
Teach installer about Clear Linux (#581) 2023-07-24 10:43:10 -07:00
Martin Wimpress 4d1c6cb9e0
DS-970: Add Magic Nix Cache and other workflow changes (#569)
* DS-970: Add Magic Nix Cache and other workflow changes

 An assortment of GitHub Workflow changes, potentially including:

- Enable DeterminateSystems/magic-nix-cache-action@main
- Reference all DeterminateSystems actions via @main
- Make update.yaml consistent across repos
- Remove unnecessary github-token: from nix-installer-action
- Update actions/checkout@v2 to actions/checkout@v3

* ci: clearly name steps in update.yml
2023-07-21 09:30:09 -07:00
Ana Hobden 3ad209cc0d
Create GITHUB_PATH with 777 mode (#568) 2023-07-17 10:45:22 -07:00
Hofer-Julian 90dc4b93ad
Remove unneeded lifetime (#573) 2023-07-17 08:40:10 -07:00
Hofer-Julian c3fa6e9623
Fix most clippy warnings (#572)
The only remaining is at `NixInstallerSubcommand`

See https://rust-lang.github.io/rust-clippy/master/index.html#/large_enum_variant
2023-07-17 08:34:46 -07:00
Ana Hobden 79ab8731fa
Disable steam deck CI until #566 (#571) 2023-07-14 21:40:39 +00:00
Ana Hobden 80026e1e2f
Add pre install/uninstall checks to planners (#561)
* Add pre install/uninstall checks to planners

* Refine checks

* fmt

* Make sure checks run before install/uninstall described as well

* Make nix-darwin error expected

* Fix import

* Fix import

* Report expected errors properly

* format
2023-07-12 09:08:42 -07:00
Ana Hobden d076888f88
Tweak self-test reporting to make it more clear it may not be a total failure (#559) 2023-07-10 11:33:53 -07:00
Ana Hobden e5390faf1a
Offer better messaging around user/group creation (#557)
* Offer better messaging around user/group creation

* fmt
2023-07-06 08:24:35 -07:00
Ana Hobden edb72882fd
Add tracing around the Github Actions reinstall issue (#541) 2023-07-05 13:39:01 -07:00
Ana Hobden ba841149e7
launchctl bootstrap fails with disabled in a dirty state (#555)
* Handle a MacOS service being disabled during bootstrap

* Handle service disabled in configure_init_service

* Fixup missed line

* Fix import

* Don't deref pointer

* Tweak detection and re-enablement
2023-07-05 13:38:50 -07:00
Ana Hobden f8b3e29751
Remove atty dependency (#554) 2023-07-05 11:53:19 -07:00
Ana Hobden 675d93c644
Support create_directory paths being an existing mount (#547)
* Support create_directory paths being an existing mount

* Tidy up after install even on mounts

* Repair steam deck test

* Fixup some nits
2023-07-05 09:11:57 -07:00