Commit graph

530 commits

Author SHA1 Message Date
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 5a8526268d
Improve the SELinux heuristic to look for sestatus (#470) 2023-05-18 09:47:28 -07:00
Ana Hobden 69ce98eff5
Regular dep bump (#468) 2023-05-17 11:28:32 -07:00
Ana Hobden 9de3c56c37
Improve messaging around version incompatability (#457)
* Improve messaging around version incompatability, suggesting how the user may address the situation

* Even better messaging

* Improve plan versioning messaging

* Remove note about /nix/nix-installer since it may not exist
2023-05-17 10:29:47 -07:00
Ana Hobden 1c18698ee6
Improve failure chain on revert (#467) 2023-05-17 16:01:36 +00:00
Ana Hobden e3a5ffc8f7
Add SELinux support (#465)
* Add SELinux support

* Nits

* Fix spellcheck

* Don't store mod, use locked shell

* Unwhoops a stale comment

* Speeling: Myy aarch neemesis

* Fix lost code:

* Add method note
2023-05-17 16:27:14 +02:00
Ana Hobden 10732cef68
Don't error if already installed with same settings, just warn (#454) 2023-05-09 07:53:36 -07:00
Ana Hobden 7c9dfacf8e
Fixup multiple --extra-conf usages (#456)
* Fixup multiple --extra-conf usages

* Merge experimental-features passed in extra-conf
2023-05-09 07:53:25 -07:00
Ana Hobden 217c3683bc
Make the RequiredBy items in the nix.mount of steam-deck planner in [Install] (#455) 2023-05-09 07:52:11 -07: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 bdd087a615
Set permissions on unpacked Nix store paths more carefully (#451)
* Set permissions on unpacked Nix store paths more carefully

* Don't setperm on links
2023-05-05 12:27:00 -07:00
Ana Hobden 965185dcab
fsync after writing Nix config to attempt to fix the flaky preserves_comment test (#448) 2023-05-05 12:12:05 -07:00
Ana Hobden 1ae77d11ee
Bump dependencies (#444) 2023-05-03 11:01:34 -07:00
Graham Christensen 5a58cf20be
Nix 2.13.3 -> 2.15.0 (#428)
* Nix 2.13.3 -> 2.15.0

* Use new path for profile path addition

---------

Co-authored-by: Ana Hobden <operator@hoverbear.org>
2023-05-01 10:15:21 -07:00
Ana Hobden e4956fe3ea
0.8.1-unreleased (#437) 2023-05-01 16:03:44 +00:00
Ana Hobden 4cc8326ee9
Release v0.8.0 (#415) 2023-04-12 14:38:17 +00:00
Ana Hobden b3c47227ff
Fixup a cure case where a store path already exists so we never make a symlink (#414) 2023-04-12 06:25:24 -07:00
dependabot[bot] 045fe5fc5d
Bump aws-actions/configure-aws-credentials from 1 to 2 (#395)
* Bump aws-actions/configure-aws-credentials from 1 to 2

Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 1 to 2.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v1...v2)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Prod CI

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ana Hobden <operator@hoverbear.org>
2023-04-11 08:52:07 -07:00
Ana Hobden 4fc7a0db18
Check user group commands exist during plan (#411)
* Check user/group related commands exist prior to execution/revert

* Fixup

* Don't check for executables on mac

* fmt
2023-04-11 07:44:49 -07:00
Ana Hobden 9549d793cc
Avoid globbing issues by using symlinks and readlink (#413) 2023-04-11 07:44:20 -07:00
Ana Hobden 75627bcd91
Provide users a better error message if systemd is not active (#412)
* Provide users a better error message if systemd is not active

* Fixups

* Fix mac

* Fixup
2023-04-10 16:16:46 -07:00
Ana Hobden cb48a7261b
Handle the APFS volume not existing but the Service and Fstab being present (#405)
* Handle the APFS volume not existing but the Service and Fstab being present

* Add handling if we need to bootout the service

* Spelling

* Rename enum
2023-04-10 20:13:25 +00:00
Ana Hobden 16ddada7a3
Only stop the nix daemon if it's actually active, not just enabled (#410)
* Only stop the nix daemon if it's actually active, not just enabled

* Add vm-tests
2023-04-10 12:47:34 -07:00
Ana Hobden 352a50b921
Split output docs (#407) 2023-04-10 09:24:13 -07:00
Ana Hobden 1718e0c428
Trim fdesetup output, remove accidently committed SSL related settings (#403)
* Trim fdesetup output, remove accidently committed SSL related settings

* More complete revert of accidental code

* Fix a bad
2023-04-05 11:13:24 -07:00
Ana Hobden 8bb37f1bcf
Uninstall shouldn't fail fast (#382)
* Uninstall shouldn't fail fast

* wip

* wip

* No longer fails fast

* Tidy up error handling

* Touchup post merge

* Refactor nix tests

* Some minor fixes

* Uninstall fail tests

* Fiddle with messaging

* nixfmt

* Tweak display a bit

* fix docs

* Fix Mac

* Revert setting I was testing

* Reflect feedback about a log level
2023-04-05 15:12:38 +00:00
Ana Hobden 5ec1d0e9b9
Fixup create_volume_service action tag (#398) 2023-04-03 16:19:28 +00:00
Ana Hobden a10261e882
v0.7.1-unreleased (#393) 2023-03-30 08:28:26 -07:00
Ana Hobden a506ac88ee
Release v0.7.0 (#390) 2023-03-29 14:21:00 -07:00
Ana Hobden 70e7d8a8c1
Document version pinning (#388) 2023-03-29 19:18:45 +00:00
Ana Hobden 5b9cb16c94
Add a bit of issue metadata (#386)
* Add a bit of issue metadata

* Immediately install
2023-03-29 17:24:34 +00:00
Ana Hobden f95ed913f6
Add semver check (#156)
* Add semver check

Fix format

Speeling

Speeling

* Further contributing note

* Speeling

* Fix hostPlatform -> stdenv issue

* Bump dependencies

---------

Co-authored-by: Cole Helbling <cole.helbling@determinate.systems>
2023-03-29 10:24:08 -07:00
Ana Hobden ce4cf08b7b
Bump dependencies (#385) 2023-03-29 10:13:28 -07:00
Ana Hobden c0e9e7015e
Revert default_missing_value to default_value (#380)
We don't need to do this anymore. It was some change I was testing that
didn't work, and I forgot to remove it.
2023-03-28 16:58:57 +00:00
Ana Hobden 607b5271c1
Use retry strategy after diskutil create (#376) 2023-03-28 09:47:12 -07:00
Ana Hobden 4856cff7b6
Make shell profile locations chosen by planner (#375)
* Make shell profile locations chosen by planner

* Fix mac

* Fix fixture
2023-03-27 21:36:54 +00:00
Ana Hobden f2c94e3578
Add Fedora v37 tests (#364) 2023-03-27 14:19:20 -07:00
Ana Hobden a74c6da41e
Improve Mac Volume Curing (#362)
* Improve Mac Volume Curing

* Add test

* Improve error

* Speeling

* Remove comment

* Fix escaping issue

* Reflect comments
2023-03-27 13:28:47 -07:00
Ana Hobden 709e81565c
Fixup diagnostic_endpoint setting to be more flexible (#374)
* Fixup diagnostic_endpoint setting to be more flexible

* Fixup doctests
2023-03-27 11:56:44 -07:00
Ana Hobden b7839953dc
Do not try to reload the systemd daemon when we are using --no-start-daemon (#365) 2023-03-23 18:25:34 +00:00
Ana Hobden 11834a3aab
Detect fdesetup properly (#361) 2023-03-22 10:59:04 -07:00
Ana Hobden 9ab29d5e36
Add Rosetta check for Mac (#355)
* Add Rosetta check for Mac

* Use a different, better method

* Setup sysctl error
2023-03-22 10:58:46 -07:00
Ana Hobden f73f8fef38
Be less grumpy about existing file permissions. (#359)
* Don't set permissions on shell profiles

* Alter CreateOrInsertFile permissions behavior.

* Fixup tests
2023-03-22 09:26:34 -07:00
Ana Hobden 775df0383f
Bump to 0.6.1-unreleased (#353) 2023-03-20 15:07:01 -07:00
Ana Hobden a9a2e4bad7
Release v0.6.0 (#352) 2023-03-20 10:31:58 -07:00
Ana Hobden 8afb8e457d
Use nixpkgs-unstable (#351) 2023-03-20 09:38:44 -07:00
Ana Hobden 371f94ba51
Set NIX_SSL_CERT_FILE in the daemon (#347)
* Set NIX_SSL_CERT_FILE in the daemon

* Fixups
2023-03-20 09:38:15 -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