Skip to content

Conversation

jackrosenberg
Copy link
Contributor

Hello,

I have added instructions for running Newt as a service via NixOs, for which I am a maintainer. Pangolin is waiting to be merged too.

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

Adds NixOs to the list of install options.

How to test?

Follow normal installation steps, click on the NixOs icon in the site creation process :)

@oschwartz10612
Copy link
Member

I dont think those eslint errors are related to this PR. Can fix independently.

@oschwartz10612
Copy link
Member

Thanks for the PR! I do think we want to get Nixos into the UI!

Giving this a think I am not sure if we want all of that instruction in the UI itself. I think it makes it big and we are not explaining to people how to run docker for example.

I am not super familiar with nixos, but could we par it down to just what we need? Maybe for example just the section you need to put into the file. Then we can add a link in the UI to a docs page where the rest is written up. Could that work? Creating the files and stuff would go into the doc writeup

@jackrosenberg
Copy link
Contributor Author

How's this @oschwartz10612 ?

@@ -285,6 +288,14 @@ WantedBy=default.target`
"Podman Run": [
`podman run -dit docker.io/fosrl/newt --id ${id} --secret ${secret} --endpoint ${endpoint}`
]
},
nixos: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of NixOS, this command can run on pretty much any machine with Nix installed.
I'm not sure how to best expose that this command can be used in any arch or OS that has Nix.

Copy link
Contributor

@SigmaSquadron SigmaSquadron Jul 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For NixOS specifically we can have a manual entry for Fossorial on Nixpkgs.

@oschwartz10612
Copy link
Member

Seems good. Looks like we are using the command nix run 'nixpkgs#fosrl-newt' --id ${id} --secret ${secret} --endpoint ${endpoint}!

Thanks for the PR!

@oschwartz10612 oschwartz10612 merged commit 6d9ba8d into fosrl:dev Jul 28, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants