-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial functional flake with inputs and s * added devshell and nixos config * Fixed nixos config (probably) * Nix config finally works * set up deploy-rs * added nix fmt to CI * added nix build to CI
- Loading branch information
Showing
13 changed files
with
697 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 @@ | ||
use flake |
This file contains 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
This file contains 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,36 @@ | ||
name: Nix CI | ||
on: | ||
workflow_call: | ||
inputs: | ||
deploy: | ||
required: true | ||
type: boolean | ||
|
||
jobs: | ||
fmt: | ||
name: Check Nix Formatting | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cachix/install-nix-action@v30 | ||
- uses: cachix/cachix-action@v15 | ||
with: | ||
name: nexus-ci | ||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | ||
- run: nix develop -c nixpkgs-fmt --check . | ||
|
||
build: | ||
name: Build NixOS config | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: cachix/install-nix-action@v30 | ||
- uses: cachix/cachix-action@v15 | ||
with: | ||
name: nexus-ci | ||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | ||
- name: Build NixOS machines | ||
run: | | ||
nix build .#nixosConfigurations.servers-us-east-1.config.formats.linode | ||
- name: Run Flake Checks | ||
run: nix flake check |
This file contains 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
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.