Ana Hobden
5524d4546b
Fix devshell on i686 ( #533 )
2023-06-27 06:54:29 -07:00
Cole Helbling
9baee72ef7
ci: use our cacher action ( #532 )
...
* ci: use our cacher action
* ci: drop unnecessary `with: github-token`
Co-authored-by: Graham Christensen <graham@grahamc.com>
* ci: pin cacher action to v1
---------
Co-authored-by: Graham Christensen <graham@grahamc.com>
2023-06-26 14:41:20 -07:00
Ana Hobden
4bfd6c2547
Use ssl-cert-file config ( #527 )
...
* Use ssl-cert-file config
* Include mac change
* Use canonical ssl cert file
* Don't set ssl-cert-file in shell profiles
* Canonicalize in diagnostics
* Optionally read cert file
2023-06-26 10:36:46 -07:00
Ana Hobden
0b6d723db3
Uninstalling should change directory if in nix ( #526 )
...
* Change directory during uninstall if run from /nix
* Include log message
2023-06-23 11:42:18 -07:00
Luc Perkins
122a4bfdf0
Add flake checker action to GHA lints ( #515 )
...
* Add flake checker action to CI
* Bump action version to v4
* Remove outdated NIxpkgs check
Co-authored-by: Ana Hobden <operator@hoverbear.org>
---------
Co-authored-by: Ana Hobden <operator@hoverbear.org>
2023-06-23 17:30:33 +00:00
Ana Hobden
a962b3390b
Restore user creation on Mac ( #524 )
...
* Restore user creation on Mac
* Repair MacOS build
* Pass clone not borrow
* Fixup double group create
* Add some links
2023-06-23 10:29:47 -07:00
Travis A. Everett
db316614f2
swap fortune for hello ( #525 )
...
This seems to have fixed the flaky macOS test issue that I
imagine led to disabling that set of tests here.
2023-06-23 08:47:40 -07:00
Matthew Kenigsberg
47f2630702
Fix darwin devShell ( #514 )
...
* Move Linux only dependencies to isLinux block
SELinux tools are Linux specific
* Add apple_sdk Security framework to devShell
Otherwise cargo build fails with:
ld: framework not found Security
2023-06-14 13:41:10 -07:00
Ana Hobden
b29a7585bd
Add self test functionality ( #506 )
...
* Add self test functionality
* Fix mac ci
* Improve erorr messaging
* i32 support
* Fixup self-test comment
* Fix review nits
2023-06-08 08:09:04 -07: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
99941446df
Fix uninstalling on latest steam deck with offload ( #502 )
2023-06-02 07:34:31 -07:00
Ana Hobden
1d51b25bf7
Use os-release to determine appropriate planner ( #501 )
2023-06-01 13:00:39 -07:00
Cole Helbling
22aad4a332
Revert "Trigger buildkite on external PRs" ( #500 )
2023-06-01 17:35:23 +00:00
Ana Hobden
5a07b2331b
Support for SteamOS Nix Offload in SteamOS 20230522.1000 ( #495 )
...
* Document how to handle different branches and buildIDs of the steam deck OS
* Changes required for SteamOS 20230522.1000
* Speeling
* Handle steamos upgrades better
* Speeling
* Tidy
2023-06-01 09:48:50 -07:00
Cole Helbling
539c21ec28
Add full path to nix-installer in bug report instructions ( #499 )
...
Co-authored-by: Matúš Ferech <matus.ferech@gmail.com>
2023-06-01 16:42:04 +00:00
Ana Hobden
0f231b715f
Improve messaging when /nix/receipt.json is already found ( #491 )
...
* Improve messaing when receipt already found
* Further improvement
* Use a const for message
2023-06-01 16:23:54 +00:00
Cole Helbling
c3bc75f064
Trigger buildkite on external PRs ( #496 )
2023-06-01 09:02:53 -07:00
Ana Hobden
7ec5148e6d
Add time machine exclusions for Mac ( #480 )
...
* Add time machine exclusions for Mac
* Prod CI
* Stub out mac test for a remote build
* Add plan changes
* wip
* Move the exclusions to be later
* Fixups
* Use pathbufs
* Import pathbuf
* Update test plans
2023-05-31 13:36:44 -07:00
Ana Hobden
f91b93bdb0
APFS volumes don't necessarily have names ( #490 )
2023-05-31 13:36:24 -07:00
Ana Hobden
d47968d982
Bump to v0.9.2-unreleased ( #497 )
2023-05-31 16:43:17 +00:00
Ana Hobden
457127bc2b
Release v0.9.1 ( #484 )
2023-05-30 09:05:55 -07:00
Ana Hobden
464ac0776e
Fixup GHA home directory on Mac ( #482 )
2023-05-26 13:16:31 -07:00
Ana Hobden
e0cc66038a
Bump to v0.9.1-unreleased ( #483 )
...
* Bump to v0.9.1-unreleased
* Also get cargo files
2023-05-26 20:04:26 +00:00
Cole Helbling
79a32a7c66
ci: release-prs: fixup tagging behavior ( #471 )
2023-05-22 12:39:27 -07:00
Ana Hobden
5d0e28fcfb
Release v0.9.0 ( #473 )
2023-05-19 17:03:14 +00:00
Ana Hobden
2673a9b299
Improve WSL systemd detection ( #469 )
...
* Improve WSL systemd detection
* Make systemd missing in wsl an expected error
* fmt
* Use && instead
* Make it more verbose
2023-05-19 14:49:43 +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
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