Skip to content
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

NixOS & Darwin flake template testing #17

Merged

Conversation

hbjydev
Copy link
Member

@hbjydev hbjydev commented Dec 1, 2023

This is working towards #16 -- currently contains the NixOS & Darwin components.

@hbjydev hbjydev marked this pull request as draft December 1, 2023 18:59
@hbjydev hbjydev changed the title Draft: NixOS flake template testing NixOS flake template testing Dec 1, 2023
@erikreinert erikreinert self-assigned this Dec 1, 2023
@hbjydev hbjydev force-pushed the 16-github-actions-for-sysconfigs branch from b843d76 to b41dc89 Compare December 1, 2023 19:26
@hbjydev hbjydev changed the title NixOS flake template testing NixOS & Darwin flake template testing Dec 1, 2023
@hbjydev hbjydev marked this pull request as ready for review December 1, 2023 19:31
@hbjydev
Copy link
Member Author

hbjydev commented Dec 1, 2023

@hbjydev
Copy link
Member Author

hbjydev commented Dec 1, 2023

As reference for people who weren't on BG's stream today or in the Discord shortly after:

The TL;DR of this is that while, no, it doesn't apply the config (i.e. by 'activating' it with darwin-rebuild or nixos-rebuild), the derivation building successfully is the reproducible part of the build anyway, so by ensuring the derivation builds, we'll be able to know that there aren't any configuration errors anywhere. This will be useful for tasks like updating home-manager, where the API can change, and because the changelogs can be hard to grok, we don't know if it'll work or not out of the box. As well as checking contributor's changes don't break the derivation outright.

@erikreinert erikreinert merged commit b1c95bf into ALT-F4-LLC:main Dec 1, 2023
3 checks passed
erikreinert pushed a commit that referenced this pull request Dec 2, 2023
* feat(ci): implement nixos test script + actions pipeline

* chore(ci): run on every push, temporarily

* feat(ci): darwin ci job (currently x86)

* fix(ci): hacky solution to macos not having realpath cmd

* fix(ci): resolve issue with non-gnu sed (bsd sed on darwin)

* docs: include status badges in README

* fix: restrict running to main branch and prs
erikreinert added a commit that referenced this pull request Dec 3, 2023
* refactor(template): moves nixos to multiple flakes that follow ISO

* NixOS & Darwin flake template testing (#17)

* feat(ci): implement nixos test script + actions pipeline

* chore(ci): run on every push, temporarily

* feat(ci): darwin ci job (currently x86)

* fix(ci): hacky solution to macos not having realpath cmd

* fix(ci): resolve issue with non-gnu sed (bsd sed on darwin)

* docs: include status badges in README

* fix: restrict running to main branch and prs

* fix(workflows)

* fix(nixos-gnome): use local hardware-configuration.nix for kickstart

* feat(nixos-minimal): use local path for hardware configuration

* fix(hack): update nixos-minimal test script

* fix(hack): improve perms with files

* feat(workflows): added matrix for both nixos templates

* feat(worfklows): rename jobs and structure

* feat(README)

* feat(template): implement nixos-desktop for multiple environments

---------

Co-authored-by: Hayden <22327045+hbjydev@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants