linutil
linutil copied to clipboard
❄️ nix & nixos support
hey everyone. we'd love to see support for nixos and nix added to linutil.
please refer to the initial TODO list for our initial plan.
Do we want nix support?
why not?
I'm hitting kind of a road block here. We need to modify the nix configuration file but there is no parser available. Help is more than welcome.
I wonder who deleted my comment 🤥
That would probably be me (it was me). You added the script label, deleted it because i removed the label.
Oh okay. Idk why it shows as user ghost deleted the comment.
Weird.
Must be a bug in github
/close not planned
as stated in this image by Chris it will take too much time to accommodate nix support at this time; this issue can be re-opened in the future once we have settled on this matter.
ref: https://github.com/ChrisTitusTech/linutil/pull/765#issuecomment-2452562769
ref:
on a second thought, this would be possible and not that hard actually. has to be done properly though. the way i see it:
- [X] create a flake environment for linutil (#1154)
- [ ] add general support with nix that would include writing common helpers for nix in nix
- [ ] partially implement simple (installation) scripts in nix within the environment
- [ ] implement unit testing for the integrated "scripts"
my approach heavily relies on the flake system, which would allow us to easily interact with nixos. i look forward to discussing other solutions in this thread.
anyone with nix experience is welcome to work on this. again, this has to be done properly, if you don't know nix, please don't open a PR. thank you.
would this include packaging it for nixpkgs?
would this include packaging it for nixpkgs?
i don't think packaging linutil for nix would make a lot of sense, especially right now. the support would have to be implemented first, then we could start thinking about flakes or nixpkgs.