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

Migrate to another framework #14

Closed
2 tasks done
yipengsun opened this issue Nov 7, 2023 · 7 comments
Closed
2 tasks done

Migrate to another framework #14

yipengsun opened this issue Nov 7, 2023 · 7 comments
Labels
feat New feature or request

Comments

@yipengsun
Copy link
Owner

yipengsun commented Nov 7, 2023

digga is no longer maintained: divnix/digga#503

I need to switch to another framework. maybe flake-parts?

  • Define some digga-like profiles and suites
  • Export NixOS machines (meaning, there's a system builder that collect attrs defined in flake.nix and export a nixosConfigurations.<hostname>)
  • Export darwin machines will use a separate issue.
  • Convert NixOS config to a colmena one not a priority. Will use a separate issue.
@yipengsun yipengsun added the feat New feature or request label Nov 7, 2023
@yipengsun
Copy link
Owner Author

Probably overriding flake-parts like this;

    flake-parts = {
      url = "github:hercules-ci/flake-parts";
      inputs.nixpkgs-lib.follows = "nixpkgs";
    };

@yipengsun
Copy link
Owner Author

Perhaps this example is more useful, as it includes home-manager related bits: https://gitlab.com/coffeetables/higher/-/blob/master/flake.nix?ref_type=heads

@yipengsun
Copy link
Owner Author

Will use colmena to define profile for each machine. However, it doesn't support nix-darwin as of now: zhaofengli/colmena#125

@yipengsun
Copy link
Owner Author

Or, use https://github.com/yelite/lite-system instead, as that is simpler, and it has macOS support.

@yipengsun
Copy link
Owner Author

There's already a way to convert nixosConfiguration to colmena: zhaofengli/colmena#161 (comment)

@yipengsun
Copy link
Owner Author

We can get rid of homeage: ryantm/agenix#50 (comment)

yipengsun added a commit that referenced this issue Sep 20, 2024
yipengsun added a commit that referenced this issue Sep 20, 2024
I was not merging home-manager config correctly. Disable home-manager
config for now.
yipengsun added a commit that referenced this issue Sep 22, 2024
Still, no home module is loaded as of now.
yipengsun added a commit that referenced this issue Sep 24, 2024
yipengsun added a commit that referenced this issue Sep 24, 2024
@yipengsun
Copy link
Owner Author

yipengsun commented Sep 27, 2024

Finally got a WSL NixOS machine that mostly works, with my latest 'framework'.

@yipengsun yipengsun removed their assignment Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant