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

Improvement: way to read config.hosts and config.rices #4

Open
yunfachi opened this issue Aug 18, 2024 · 0 comments
Open

Improvement: way to read config.hosts and config.rices #4

yunfachi opened this issue Aug 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@yunfachi
Copy link
Owner

the current method is really bad

denix/lib/default.nix

Lines 19 to 23 in fc58503

internalSystemExtraModule ? (
if isHomeManager
then {}
else {nixpkgs.hostPlatform = "x86_64-linux";} # just a plug; FIXME
),

denix/lib/default.nix

Lines 78 to 79 in fc58503

inherit ((system internalSystemExtraModule "useless" false)) config;
inherit (config.${myconfigName}) hosts rices;

@yunfachi yunfachi added the enhancement New feature or request label Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant