It’s been a couple of months since our last update and there has been quite a lot going on. With the project having spent the last 18 months shoring up its foundations, we are now able to start shifting towards more open and collaborative development.
Congrats to the team on the new ISO and moss update. It is indeed a bit of a mental model switch coming from some other package managers, but I don’t think the model is really that foreign compared to what tooling I have either historically worked with or regularly do so like gcloud, hugo, gh, and tea. When you start building out complex CLI apps, or if you end up using cobra / fang in the golang world, you find yourself gravitating towards naturally arranging various “commands” into specific domains.
Personally, I prefer it over CLI flag soup like rpm -qlpabcdefghi w/e or pacman (where everyone has -Syu memorized but have you ever stopped to think about y being for refresh?).
Great to see Budgie Desktop shipping as an easy-to-access “out of the box” option with the installer. Thanks to all the aerynOS staff for both their efforts and time (both in packaging some of the budgie-desktop deps before I could even get around to submitting everything! as well as for the timely reviews)
Every time you modify your system imperatively with moss pkg add/remove or moss repo add/remove/enable/disable && moss sync -u, its system-model is saved in your new transaction as /usr/lib/system-model.kdl (this will likely move to just /usr/system-model.kdl soon).
If you want to maintain your system declaratively instead of imperatively, you can copy your /usr/lib/system-model.kdl file to /etc/moss/system-model.kdl. From then on, moss will manage your system declaratively.
You will still be able to add/remove packages and repositories, but these changes will be transient; if you at any point run sudo moss sync or sudo moss sync -u if you want to update your repository before syncing, you will be right back to your declarative system-model state.
If you at any point then remove /etc/moss/system-model.kdl or rename it to e.g. /etc/moss/system-model.kdl.inactive, moss will again be managed imperatively.
Finally, you can at any point do a declarative import of a file in valid system-model.kdl format by running sudo moss sync --import <the valid system-model.kdl format file>.
This is a simple way to change your system-model in a way that would normally have to be separate pkg add, pkg remove, repo add/enable, repo remove/disable operations.