archbox
flake-utils-plus
archbox | flake-utils-plus | |
---|---|---|
4 | 19 | |
127 | 444 | |
- | - | |
0.0 | 4.9 | |
almost 2 years ago | 24 days ago | |
Shell | Nix | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
archbox
-
Sharing a new idea for steamOS
I also found this project which streamlines the process a little https://github.com/lemniskett/archbox
you mean something like archbox? https://github.com/lemniskett/archbox
- I currently use Arch exclusively, advice on getting a second laptop?
-
NixOS 21.05 Released
If you don't mind the storage penalty, it looks pretty convenient to set up an Arch Linux chroot and use packages from the AUR when you need to: https://github.com/lemniskett/archbox/blob/master/NIXOS_INST...
Nixpkgs itself is several times the size of the base Arch Linux package collection, and by ‘non-unique’ package count, Nixpkgs is also much larger than the AUR. In addition to Nixpkgs, you can find Nix packages in several community ‘overlays’ for Nixpkgs as well as Nix's own user repositories.
You can check to see whether everything you currently use/need is conveniently available for NixOS in a comprehensive-ish way through the combination of these two web search tools:
• for Nixpkgs/NixOS: https://search.nixos.org/packages?channel=21.05
• for NUR: https://nur.nix-community.org/
NixOS also includes native Flatpak support.
Fwiw, packaging most things for Nix is very easy. I left Arch in ~2010 because at the time the package management stack and default repos on Arch basically sucked compared to most distros I'd used and liked, and from then on I decided that if I wanted software that wasn't in my distro's repos I'd just package it myself. After taking a little time to learn the tools on whatever distro I was using, I never missed Arch or the AUR. Compared to other distros, packaging normal software from source is usually exceptionally easy on NixOS.
If I were you I'd just dive right in and hit Nix's channel on Matrix with the Nixpkgs manual in hand if I found something I wanted to use that wasn't already packaged. But you can fall back on the options outlined above.
flake-utils-plus
-
[Question] When using flakes, can I remove all channels?
You don't need channels to use nix-shell or nix-env. You can generate the Nix path and registry from your flake inputs. flake-utils-plus makes this easy with nix.generateRegistryFromInputs and nix.generateNixPathFromInputs.
-
How do I deploy a configuration to a machine with an existing hardware-configuration.nix?
Use flake-utils-plus to easily define multiple systems in flake.nix.and then use the --target-host flag of nixos-rebuild to deploy it remotely.
-
Have a shell command in configuration.nix that runs on nixos-rebuild
If you're trying to handle multiple systems with one config a flake is a significantly better option. I would personally recommend looking at flake-utils-plus and specifically this example config.
- Nix Flakes
-
Best way to manage multiple home manager configs for both NixOS and non-NixOS systems using flakes?
I looked at some past threads / examples and saw people recommend flake-utils-plus, but after reading the examples I don't understand how I would get home-manager on Darwin or Ubuntu.
-
Nix: Taming Unix with Functional Programming
Depending on your specific needs, the channelsConfig (modify arguments passed to Nixpkgs) and overlay tooling in flake-utils-plus may be adequate: https://github.com/gytis-ivaskevicius/flake-utils-plus/tree/...
-
What to do...
For flakes you don't have to set up everything manually there are helper libraries, I use flake-utils-plus.
-
How shall I install a package not found at https://search.nixos.org/packages?
Converting to flakes is not that hard if you use a good library. The documentation is other people's configs, really.
-
I made a thing you can load in Nix repl to get variables from your NixOS configuration
Neat! I've been using flake-utils-plus's implementation until now. https://github.com/gytis-ivaskevicius/flake-utils-plus/blob/master/lib/repl.nix
-
How to use a patched nixpkgs locally?
I use flake-utils-plus based configuration to apply patches on top of nixpkgs where overlays don't suffice.
What are some alternatives?
nixGL - A wrapper tool for nix OpenGL application [maintainer=@guibou]
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
flake-utils - Pure Nix flake utility functions [maintainer=@zimbatm]
nix-processmgmt - Experimental Nix-based process management framework
nix-update - Swiss-knife for updating nix packages.
poetry2nix - Convert poetry projects to nix automagically [maintainer=@adisbladis]
nixos-config - My NixOS configuration.
NixOS-docker - DEPRECATED! Dockerfiles to package Nix in a minimal docker container
config
deploy-rs - A simple multi-profile Nix-flake deploy tool.