dogeorg / dogeboxd

Dogebox system manager service
MIT License
1 stars 0 forks source link

Pup Lifecycle #11

Closed SomeoneWeird closed 2 months ago

SomeoneWeird commented 2 months ago

This PR is primarily to finish the pup lifecycle, including installation, uninstalling, and purging. There's a few other things scattered in that I couldn't really be bothered staging properly.

This works with an example pup located at https://github.com/SomeoneWeird/test-pup

Screenshot 2024-09-02 at 4 33 19 PM

At the moment we write nix container configuration to $dataDir/nix/pup_$id.nix and this needs to be manually included in your /etc/nixos/configuration.nix, auto-inclusion will be added once we add more indirection and handling to dbx.