Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

❄️ nix & nixos support #759

Open
adamperkowski opened this issue Oct 4, 2024 · 11 comments
Open

❄️ nix & nixos support #759

adamperkowski opened this issue Oct 4, 2024 · 11 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@adamperkowski
Copy link
Collaborator

adamperkowski commented Oct 4, 2024

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.

@adamperkowski adamperkowski added the enhancement New feature or request label Oct 4, 2024
@nnyyxxxx
Copy link
Contributor

nnyyxxxx commented Oct 5, 2024

Do we want nix support?

why not?

@github-actions github-actions bot added the script Pull requests that update scripts label Oct 10, 2024
@adamperkowski adamperkowski removed the script Pull requests that update scripts label Oct 25, 2024
Repository owner deleted a comment from jeevithakannan2 Oct 25, 2024
@adamperkowski adamperkowski added the help wanted Extra attention is needed label Oct 26, 2024
@adamperkowski

This comment has been minimized.

@jeevithakannan2

This comment has been minimized.

@adamperkowski

This comment has been minimized.

@jeevithakannan2

This comment has been minimized.

@adamperkowski

This comment has been minimized.

@jeevithakannan2

This comment has been minimized.

@nnyyxxxx

This comment has been minimized.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 6, 2024
@adamperkowski
Copy link
Collaborator Author

on a second thought, this would be possible and not that hard actually. has to be done properly though.
the way i see it:

  • create a flake environment for linutil
  • 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.

@adamperkowski adamperkowski reopened this Feb 6, 2025
@adamperkowski adamperkowski pinned this issue Feb 6, 2025
@JackDyre
Copy link

would this include packaging it for nixpkgs?

@adamperkowski
Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants