post
Honestly I'd consider using this in combination with NixOS just for the flatpak support
Haha, fair enough. The reason I even created this in the first place was because of how painful nix/nixOS is to use in general. Nushell is far simpler, and much more ergonomic to deal with. Especially with how much it supports structured data.
That is cool. I use dcli which is quite nice to use and easily manages dotfiles and scripts. I see you've added post install hooks which would allow to manage dotfiles for example.
I really like to use a declarative package manager on a different distro than NixOS. My current install is managed entirely by that tool with specific scripts that modify some config files like fstab for instance.
Ah yes, I came across this when someone else pointed it out as well. The project looks neat, ngl. supac also shares some goals along these lines, but dcli looks more mature. I still prefer supac (it's my project duh) because supac allows you to script in nushell, which lets you do interactive development (if you use nushell as your shell, which you absolutely should!). I also don't prefer something like YAML for config, but since it's extensible with lua, I guess it makes sense to go with a config language as well. I do think the end goals are different, I try to orient supac to be a nix alternative but with integrated package management across different package managers. Also, supac is simpler in principle because a lot of the complexity is shifted to accompanying libs in nushell (such as systemd unit integration).
Not to mention, with a couple of lines of nushell code you can probably import all your yaml configs from dcli into supac :)
This is kinda like mise but also works with your distro's package manager?
From what I understand (I've never used mise), mise is meant for programming environments and tools. Supac works with your distribution's package manager to manage all your system packages and also language toolchains like rustup and uvx (uvx backend doesn't manage toolchains yet, it's being developed though).
What it doesn't manage are programming environments, basically, you cannot use it to spawn something like a nix devshell. Hope it makes sense. This is more meant to be along the lines of something like nix, but friendlier and easier.
Very cool. This one has piqued my interest more than dcli. I'll be checking it out when I get the chance
Dcli looks interesting! The long term goal of supac is to support many different relevant package managers as backends, so that all sorts of packages and language toolchains can be managed. Besides, nushell being a scripting AND shell language massively helps with that.
this seems pretty cool. i might even give this a go.
for anyone reading this, are there any dot file managers that would work well in tandem with supac? or just any dot file manager recommends?
Thanks for the kind words! For dotfiles, I used org-babel for a long time, keeping a literate config. Now I use a git repo to hold everything with a script to pull in whatever I think is necessary. That said, one of the long term plans for supac is to add dotfile management as well, something like nix-wrapper does it. Although it will certainly take some time before we get there.
Now this looks interesting. I personally use chezmoi and scripts to install and manage the apps that I want. Having a dedicated manager would be ideal.
Edit: it says that disabling backends is currently not supported, does that mean that it doesn't worn in environments without pacman for example?
Right now, you can do it in two ways:
- Don't have the Arch key at all. supac will silently skip it.
- You can write a small wrapper in package.nu that checks the presence of your preferred arch package manager in $env.PATH, if it's there then it'll insert the key and value, and not otherwise.
I'd mostly go with 1 unless you're sharing your non-arch config with an arch config on two separate machines.
all 2 comments