You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Done via nix eval /etc/nixos#nixosConfigurations.framework.config.system.build.toplevel. Just checks that the code is syntactically correct, doesn't activate it or anything.
Unfortunately, for this to work, we'd need access to the current host. I could do this manually like I handle $CONFIG_DIRECTORY, but honestly, I should really just move the rbld script to within a nix file.
The text was updated successfully, but these errors were encountered:
rbld script has been moved into a nix file as of 2a8f2da. And, syntax highlighting works, but only within Helix (this is good, makes me stop using VSCode). We can now add this functionality easily, and anything else.
We can now pass a config directory via -d. It's set to /etc/nixos if no path is passed. Ideally, we'd add a custom error here to check that the directory exists, has a flake, and a git repo, rather than getting an inscrutable error.
We're planning on splitting the flake commands off into a separate function, unify. unify stands for: "Update NixOS Inputs For Yourself".
Positional parameters bad. Once above is done, the commands should ideally only take arguments. We can then work on adding more arguments, for things like specifying the flake inputs we care about.
ADD DOCUMENTATION. it's not that hard.
Once all that is done, we can work on new functionality, and implement stuff like rbld -t.
Done via
nix eval /etc/nixos#nixosConfigurations.framework.config.system.build.toplevel
. Just checks that the code is syntactically correct, doesn't activate it or anything.Unfortunately, for this to work, we'd need access to the current host. I could do this manually like I handle $CONFIG_DIRECTORY, but honestly, I should really just move the
rbld
script to within a nix file.The text was updated successfully, but these errors were encountered: