Commit graph

55 commits

Author SHA1 Message Date
Graham Christensen dac0adca28
Support remote-building to macOS hosts (#714)
* Support remote-building to macOS hosts

Our README has long featured a snippet to add to the zshenv, with a
caevat that it might behave strangely if you're writing a script with an
empty PATH.

It is pretty straightforward to eliminate those caveats while still
providing remote building for Nix to macOS hosts.

Co-authored-by: Ana Hobden <operator@hoverbear.org>
2023-11-10 19:02:19 +00:00
Matthew Kenigsberg 6ca2c68e31
Document max-jobs=auto (#712)
max-jobs is set to auto as of
https://github.com/DeterminateSystems/nix-installer/pull/627
2023-11-10 07:59:42 -08:00
Ana Hobden ccae8a097d
Document the known nix-darwin related uninstall issue (#687)
* Document the known nix-darwin related uninstall issue

* Fix nits

* Update README.md

Co-authored-by: Cole Helbling <cole.helbling@determinate.systems>

---------

Co-authored-by: Cole Helbling <cole.helbling@determinate.systems>
2023-10-24 18:55:51 +00:00
Daniel Flanagan 5e06d6fcd2
Update ssl-cert-file docs (#671) 2023-10-10 09:21:22 -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
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 0cd1d4bb03
Fix uninstall instructions (#631) 2023-09-13 09:56:00 -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
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 3586457624
Turn off auto optimise store on mac (#542)
* Disable auto-optimise-store on Mac

* Add comment on why we disable something

* fmt

* Auto-allocate-uids is linux only too
2023-06-28 21:11:16 +00:00
George Shammas 52e8b61009
typo fix for auto-allocate-uids (#505)
The config option `auto-uid-allocation` does exist even if the experimental feature `auto-allocate-uids` is enabled.
2023-06-05 07:45:43 -07:00
Ana Hobden 5d0e28fcfb
Release v0.9.0 (#473) 2023-05-19 17:03:14 +00:00
Ana Hobden eb41cc9205
Improve container docs somewhat (#472)
* Improve container docs somewhat

* compatibility

* Clarify this
2023-05-18 17:14:03 +00:00
Ana Hobden 08ef3bb82a
Test Nix 2.15 and the auto-uid-allocation feature (#196)
* Auto UID allocation

* Uncomment plan tests

* Delete legacy users on install

* Group up deleteuser actions
2023-05-05 13:54:37 -07:00
Ana Hobden 70e7d8a8c1
Document version pinning (#388) 2023-03-29 19:18:45 +00:00
Ana Hobden a9a2e4bad7
Release v0.6.0 (#352) 2023-03-20 10:31:58 -07:00
Ana Hobden ee06c3c750
Update dependencies (#346)
* Update dependencies

* Fix a summary formatting

* Another catch
2023-03-16 17:39:05 +00:00
Ana Hobden 01553de247
Fancy-fy the README a bit (#345)
* Fancy-fy the README a bit

* Ensure GH doesn't make flake URLs poorly formatted
2023-03-16 17:08:27 +00:00
Ana Hobden 3347ccb9d5
Update zshrc, not zshenv (#339)
* Update both zshenv and zshrc

* Update only zshrc

* Add troubleshooting section

* Correct diagnostics note in readme

* Quirks!

* Remove a period

* Improve wording

* Tidy readme a bit

* Unforget a period
2023-03-16 09:39:49 -07:00
Ana Hobden c128700130
Add ssl-cert-file option (#341)
* Add ssl-cert-file option

* Add reqwest support for ssl cert

* Fix build

* Include in install differences

* Handle weird paths, include ENV setting in instructions
2023-03-16 16:32:14 +00:00
Ana Hobden df0d8eb01f
In the README, recommend a git url (#343)
* In the README, recommend a git url

* More comprehensive self-build instructions
2023-03-16 16:24:13 +00:00
Ana Hobden f98fbbac1c
Update the install differences in the readme (#340) 2023-03-16 08:56:15 -07:00
Cole Helbling 96d8870902
Default to systemd, refer to documentation if systemd is not available (#336) 2023-03-13 14:12:33 -07:00
Cole Helbling b7d7afd02e
README: clarify WSL means WSL2 (#315) 2023-03-08 18:30:31 +00:00
Graham Christensen d20c0b9746
Describe Diagnostics (#276)
Co-authored-by: Cole Helbling <cole.helbling@determinate.systems>
2023-02-27 15:49:40 +00:00
Cole Helbling 8de35b2477
README: upgrade MacOS stability and note (#269)
Removing users and/or groups may fail if there is no user logged in
graphically. Aside from that, it should work.
2023-02-24 09:27:00 -08:00
Luc Perkins 5582d050fc
Add note on --no-confirm flag (#261) 2023-02-21 07:27:21 -08:00
Ana Hobden 9f34c49461
Mac support note (#251)
* Add Mac support note

* Reframe stability wording on Mac
2023-02-15 18:18:55 +00:00
Ana Hobden 1b3d441051
Clarify stability (#244)
* Clarify stability a bit

* Further stability clarification in CONTRIBUTING.md

* Improve some wording
2023-02-13 14:07:35 -08:00
Ana Hobden ab4c528595
Rename some of the planners (#243)
* Rename some of the planners

* Fixup Mac

* Also move actions

* Also update CI
2023-02-10 20:35:00 +00:00
Ana Hobden e35278a121
It's the Determinate Nix Installer (#242)
* We like the phrasing the Determinate Nix Installer for now

* Cajoled

* Fixups
2023-02-10 19:48:44 +00:00
Ana Hobden d69f335703
init-less install (#188)
* wip

* Add dockerfile

* Add readme bits

* Fix logic inversion

* Relax init detection error

* Tidying heuristics

* Fix doc tests

* Mac supports start-daemon false

* Get VM tests working

* Add instructions

* Some target_os flagging

* More target flagging

* Fix lints

* Fixup more mac-only stuff

* cfg flag examples too

* Fix planner wording

* More os specific lint fixing

* More refinement on mac and the README

* Add new CI jobs to test no-daemon

* Use nix-installer-pr to point at branch

* Tests with no-init

* init/no-daemon are linux only

* nix tests support a per-distro all attribute

* Add working podman test

* Expand docker tests

* Add contributing notes

* format

* Support both podman and docker

* Update contributing

* Add Windows WSL test script for Ubuntu

* format nix tests

* More ignores to check-spelling

* Add systemd based wsl test

* We don't have root-only darwin

* Reflect review nits

* Reenable tests

* Restore mac plan

* Flag off os specific tests

* Better cfg flagging

* Remove dead comments

* Rework readme to look better with new sections

* Correct codeblock language

* Remove some warnings
2023-02-01 12:35:52 -08:00
Cole Helbling a748f7628a
README: recommend safer curl options (#197)
Force HTTPS and TLS v1.2 (or later) connections, and also be quieter.
2023-01-18 10:09:21 -08:00
Ana Hobden 9b27fe35a5
Update action section in readme with tag (#189) 2023-01-17 10:51:47 -08:00
Ana Hobden cf178bb0ef
Use remote action (#185)
* Use remote action

* Use nix installer everywhere

* Update README.md

* Fixup tag used

* Fixups
2023-01-13 13:26:15 -08:00
Ana Hobden 4338b78135
Refactor the README.md (#178)
* Refactor the README.md

* Compact a bit more

* Reflect comments
2023-01-12 09:37:20 -08:00
Ana Hobden 344f2e184c
Fixup badges in README.md (#172) 2023-01-10 15:44:55 +00:00
Ana Hobden f09bbae5a0
Update README.md to reflect recent changes (#165)
* Update README.md to reflect recent changes

* Update with incoming changes
2023-01-09 18:59:53 +00:00
Ana Hobden d299dbf0f2
Rename harmonic to nix-installer (#125)
* Rename harmonic to nix-installer

* Fix build

* handle nix-install.sh rename

* Forgot some things

* Fix a mistype

* Fix env var

* Fix merge change that popped up
2022-12-19 18:26:58 +00:00
Ana Hobden 1e6d7d75c9
Do SELinux checks (#123)
* Do SELinux checks

* Add improved error message with issue link

* Improve SELinux error message

* Correct lint
2022-12-19 07:30:45 -08:00
Ana Hobden c4274c93fb
Add action & Tune Tracing (#119)
* Add action

* Checkout so we have actions.yml

* yaml poking

* Handle GITHUB_TOKEN

* Don't ask github to do templating, use directives for logging

* Missing changes

* Fix build error

* Fix yaml even more

* Add shell command

* Add a wait on the socket again

* Print some debugging

* Use more correct env vars

* Correct install url logic

* Use different style for inputs

* Fix yaml errror

* Tweak around local-root

* provision nix-install.sh as well

* Use nix-install.sh path directory in NIX_INSTALL_URL

* Tweak variables to hopefully work

* Call it BINARY_ROOT instead

* Add exec output

* Set no-confirm

* no echo

* Add token to workflow

* Set no-confirm properly

* Add no-confirm back for uninstall

* Correct some env and vars

* CreateDirectory respects existing symlink

* Add a few more checks to the CI

* pass valid yaml...

* Slightly more aggressive cleanup of /nix

* Ensure steam-deck cleans /home/nix

* Add steam-deck check for persistence

* Canonicalize steam-deck persistence

* Ensure absolute path

* Inverted logic sad

* python3 on mac

* Add readme info and fix a extra-conf mistype

* Add unsaved changes

* More fine grained trace logging

* Restore spans we lost in refactor

* BuiltinPlanner can accept settings

* Reflect feedback

* Push actually working code hopefully this time

* Speeling
2022-12-16 18:55:28 +00:00
Ana Hobden fab886cf4d
Refine README.md a bit (#117)
* Refine README.md a bit

* Add firefox invocation

* Reflect feedback
2022-12-12 20:56:37 +00:00
Ana Hobden fe83b35199
Fixup Mac curl $URL | sudo sh -s (#99)
* Fixup Mac curl sh

* We not longer require sudo for the script
2022-12-08 08:04:49 -08:00
Ana Hobden 90bab4034c
Recommend sudo (#97) 2022-12-07 16:12:58 +00:00
Ana Hobden f0f1171026
Update the install URL (#95)
* Update the install URL

* Add a try it section to the readme

* Prune newline
2022-12-07 02:59:25 +01:00
Ana Hobden ae37842a0d
Add Steam Deck Support (#34)
* Init Steam Deck support

* Improve systemd units

* Handle stopping nix-daemon.service before stopping mount

* Better handle being in a sysext

* Add some install directions

* Add a KDE autostart script

* Tidy up uninstall

* Use stop/disable instead of disable --now

* Fixup a double-disable

* Repair some defaults

* Tidy up services

* Make ci test steam deck planner

* Delete bonus line

* Use newer image

* Get steam-deck working hopefully

* Create steamos-readonly mock

* Make stub of steamos-readonly

* Use sudo for chmod

* Attempt CI fix

* Don't add deck group

* A more clever method

* We have a new method and the CI can be cleaned a bit

* Brazenly disable sandbox on the deck ci

* Extra-conf takes vec

* Dump lsblk mount

* An even more clever method

* More debugging symbols

* More debugging symbols

* Even more debugging

* probe for issues

* Get specific with permissions and ownership (for ci)

* We are now way overboard on debugging symbols

* Specify permissions on created home stub

* Allow specifying persistence

* Cleanup debugging bits

* Fixup persistence path

* Work out some better linking in units

* units don't need executable

* Tidy

* Delint

* Remove a note from readme

* Github actions seems to have build the wrong checkout?

* Doctest repair

* Don't create directory twice

* Restore missing doc comments

Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2022-12-02 07:31:15 -08:00
Ana Hobden 4fbc9dbdf9 Better note in readme 2022-11-09 08:50:50 -08:00
Ana Hobden 80b7c2c1fa Workaround user deletion issues
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2022-11-04 12:24:38 -07:00