exploitoverload / PwNixOS

PwNixOS - A Productivity Focused and Hacking-Oriented NixOS Flake
MIT License
78 stars 6 forks source link

possible mounting of PwNixOS instead of overwriting my configurations #5

Open TeleVoyant opened 3 months ago

TeleVoyant commented 3 months ago

hi @exploitoverload, appreciate your work.

I couldn't help but wonder, is it possible to mount your configurations (as a channel or something?), instead of replacing my existing configurations?

I recently came across musnix, a set of configurations that will make any nixos laptop music-production ready. At First, i somewhat doubt it, in fear of overriding my configurations; until i found out that i only needed to include it as a channel, and paste 4 lines of code on my precious configuration.nix. Done.

can it be done this way? so that, if one wants to install every pentesting tool, one would just enter one line of code into configuration.nix eg: PwNixOS.pentesting.installAll = true;.

Cause honestly, i think even nixpkgs can not keep up with the current speed of updates of these tools on github, and overlaying each one of them makes me wanna puke when i look at my configurations.nix. With its increasing growth of amalgamation of overlays. You can abstract these overlays from the user by hiding them inside PwNixOS configuration? which can be included by the user like this:

    1    {
    2         imports =
    3            [ # ...
    4                 <PwNixOS>
    5            ];
    6
    7         PwNixOS.pentesting.installAll = true;
    8         
    9    }

I'm not fluent with Nix programming (as I've been using nixos for 4 months), but I'm willing to put in the time; cause honestly, think this project will single-handedly make NixOS cooler than parrotOS.

thanks, for your time bruv.

exploitoverload commented 2 months ago

Hi @TeleVoyant !!

Thank you very much for the comment man!

It is something I have in mind and the example you mentioned will be very useful for me to implement a module system like musnix. It will probably be the next thing that I will implement, something similar to the meta packages of kali linux or parrot plus configurations to improve the user experience as in the configuration of kitty, zsh, etc. so that users like you who already have their own configuration can import the modules they want to include in it.

Again thank you very much!! It helps me a lot!!!