redcode-labs / rednix Goto Github PK
View Code? Open in Web Editor NEWHackable NixOS container
Hackable NixOS container
When I add RedNix as a flake input and import the container, I get this error.
error:
… while calling the 'head' builtin
at /nix/store/m9s94alic7s2r6v47p7lwfj58ibc076a-source/lib/attrsets.nix:960:11:
959| || pred here (elemAt values 1) (head values) then
960| head values
| ^
961| else
… while evaluating the attribute 'value'
at /nix/store/m9s94alic7s2r6v47p7lwfj58ibc076a-source/lib/modules.nix:809:9:
808| in warnDeprecation opt //
809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
810| inherit (res.defsFinal') highestPrio;
(stack trace truncated; use '--show-trace' to show the full trace)
error: function 'anonymous lambda' called without required argument 'pkgs'
at /nix/store/7w4cdnbfmw98digym39n258k5fzaxp99-source/container-config.nix:1:1:
1| {
| ^
2| pkgs,
When I create the container imperatively with nixos-container
commands, I get the following error.
error:
… while updating the lock file of flake 'github:redcode-labs/rednix/8e974d3c53701c2c2d48ec39fc8a586b022437e4'
error: cannot write modified lock file of flake 'github:redcode-labs/rednix' (use '--no-write-lock-file' to ignore)
/run/current-system/sw/bin/nixos-container: failed to build container from flake 'github:redcode-labs/rednix'
The wiki says that in order to add the container to an existing NixOS system you have to add an inputs.rednix.container
module, but it seems that this module is for the container itself and not for the host system.
The configuration.nix
file should probably be added instead, but it is not exported in flake.nix
at the moment.
Please export it and make the wiki clearer.
Thanks for the cool project!
It would be cool if this flake exported a collection of wordlists, similar to what's bundled with Kali Linux - either as part of a package or as files placed in a nixosConfiguration
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.