-
Notifications
You must be signed in to change notification settings - Fork 0
Reorganize #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ryleu
wants to merge
55
commits into
main
Choose a base branch
from
reorganize
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Reorganize #34
Changes from 8 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
54ef6a3
refactor: reorganize things to be easier to work on. wip.
ryleu e4acd1c
feat: use authorized_keys.nix as ssh authorized keys
ryleu f2fea9e
feat: disko
ryleu 3465497
chore: remove keys of former members
ryleu a57f539
feat: add nix cache for iso builds
ryleu 95bccd9
feat(ssh): add hostname.local ssh blocks. also refactor to use cool f…
ryleu 4f0b4f0
feat: swap partition -> btrfs subvol
ryleu 7aacf00
docs: add instructions to use the actions artifact
ryleu 05782fc
docs: reword and flesh out README
ryleu 9c02dbc
docs: move input documentation from README to comments in flake.nix
ryleu 3c99458
docs: document disko setup
ryleu 7acb17b
fix: move zed to the basestation role
ryleu 4d3be6a
docs: document ssh.nix
ryleu 3b1966d
feat: add more debugging tools to the installer ISO
ryleu 143bb84
chore: rekey agenix
ryleu d9dc150
docs: remove information that might change from the options descriptions
ryleu 6ac5dcd
docs(antenna): comment restream ports
ryleu b409a62
feat(basestation): add mpv
ryleu 99ec051
feat: remove hostapd
ryleu 53f036d
style: nix fmt
ryleu 11aa6a3
feat(devshell): warn if docker is missing
ryleu 8ed4ef9
feat(hardware): ensure graphics are available n cpu-*.nix
ryleu 936e49a
refactor(net): migrate from networkmanager + wpa_supplicant to system…
ryleu 9b86c0a
fix(ros): only add realsense to rovers
ryleu a21bb01
feat(network): map device ips to /etc/hosts
ryleu 7b017a6
feat(sleep): all devices dont sleep now
ryleu ad38e9d
feat: change bag location to /tmp so it gets cleared automatically
ryleu 1fbb8e7
feat: drop vscode and add pio cli
ryleu 91e3ca6
feat(deck): add steam
ryleu a759c2a
chore: bump state versions
ryleu 450afce
refactor(home): move to one big home-configuration.nix
ryleu a577de6
refactor(nixos): consolidate things into (mostly) one file
ryleu 3741828
refactor(flake): inline mkInstaller
ryleu 6b876ad
docs(readme): add rekey instructions back
ryleu e51f655
docs(configuration.nix): comments everywhere
ryleu ebc2183
refactor(network): clean up how the default wifi networks are set up
ryleu 64d978f
fix(age): use tmpfiles to ensure .ssh exists because i love systemd
ryleu bb6abb5
refactor(home-configuration.nix): move let-in statements closer to wh…
ryleu b015a06
feat: switch fully to zsh for astra user
ryleu 8370330
refactor: clean up things that are already declared elsewhere
ryleu d3a7785
docs(readme): update ToC
ryleu 86c28ef
refactor: clean up cruft
ryleu 42bdf9c
feat: add wifi config to installer
ryleu 96649eb
fix(disko): drop invalid noctime/nomtime mount options
ryleu 7541b71
feat(installer): clone flake into /etc/nixos on install
ryleu 6b3b658
fix: change priority on disabling wpa_supplicant
ryleu 481c6e0
fix: remove serial boot params as they break real installs
ryleu 203098d
docs(configuration.nix): sorry roald
ryleu 273f6f7
feat(nixos): rm ag
ryleu 9a0e659
docs(nixos): change the comment on bat
ryleu 407d302
feat(basestation): rm zeditor
ryleu d8c1f5c
fix(installer): set up the motd properly
ryleu f0f45b2
feat: add drivers for VMs
ryleu 69672f3
refactor(nixos): pull role-specific stuff out of configuration.nix
ryleu b5a1550
feat(deck): reorient bootloader (thanks roald)
ryleu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| --artifact-server-path ./.act-artifacts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| name: Build installer ISO | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| tags: ["v*"] | ||
| pull_request: | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| build: | ||
| name: Build astra-installer.iso | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Free disk space | ||
| run: | | ||
| sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc \ | ||
| /opt/hostedtoolcache/CodeQL /usr/local/share/boost | ||
| sudo docker image prune --all --force || true | ||
| df -h | ||
|
|
||
| - name: Install Nix | ||
| uses: DeterminateSystems/nix-installer-action@main | ||
| with: | ||
| extra-conf: | | ||
| accept-flake-config = true | ||
| extra-substituters = https://ros.cachix.org https://attic.iid.ciirc.cvut.cz/ros | ||
| extra-trusted-public-keys = ros.cachix.org-1:dSyZxI8geDCJrwgvCOHDoAfOm5sV1wCPjBkKL+38Rvo= ros:JR95vUYsShSqfA1VTYoFt1Nz6uXasm5QrcOsGry9f6Q= | ||
|
|
||
| - uses: nix-community/cache-nix-action@v7 | ||
| with: | ||
| primary-key: nix-${{ runner.os }}-${{ hashFiles('**/flake.lock') }} | ||
| restore-prefixes-first-match: nix-${{ runner.os }}- | ||
| gc-max-store-size-linux: 2G | ||
| purge: true | ||
| purge-prefixes: nix-${{ runner.os }}- | ||
| purge-created: 0 | ||
| purge-last-accessed: 86400 | ||
| purge-primary-key: never | ||
|
|
||
| - name: Check flake | ||
| run: nix flake check --print-build-logs | ||
|
|
||
| - name: Build installer | ||
| run: nix build .#installer --print-build-logs | ||
|
|
||
| - name: Resolve ISO path | ||
| id: iso | ||
| run: | | ||
| iso=$(readlink -f result/iso/*.iso) | ||
| echo "path=$iso" >> "$GITHUB_OUTPUT" | ||
| echo "name=$(basename "$iso")" >> "$GITHUB_OUTPUT" | ||
| ls -lh "$iso" | ||
|
|
||
| - name: Upload ISO artifact | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: ${{ steps.iso.outputs.name }} | ||
| path: ${{ steps.iso.outputs.path }} | ||
| if-no-files-found: error | ||
| retention-days: 30 | ||
|
|
||
| - name: Attach ISO to release | ||
| if: ${{ !env.ACT && startsWith(github.ref, 'refs/tags/v') }} | ||
| uses: softprops/action-gh-release@v2 | ||
| with: | ||
| files: ${{ steps.iso.outputs.path }} | ||
| fail_on_unmatched_files: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,9 @@ | ||
| # output from building | ||
| result | ||
|
|
||
| # output of nixos-generate-config | ||
| /hardware-configuration.nix | ||
| /configuration.nix | ||
| # act local artifact store | ||
| .act-artifacts/ | ||
|
|
||
| # direnv | ||
| .direnv/ | ||
| .envrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
ryleu marked this conversation as resolved.
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.