miniguest
nix-index
Our great sponsors
miniguest | nix-index | |
---|---|---|
2 | 11 | |
47 | 712 | |
- | 6.7% | |
0.0 | 6.0 | |
about 1 year ago | 6 days ago | |
C++ | Rust | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
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.
miniguest
-
How to properly setup git clang-format in a shell.nix
I got a hook like that working recently, but it was with devshell.
-
How to switch to nix gradually on an existing server
Not all containers are Docker. Docker containers are so-called application containers with no init daemon. NixOS modules rely on an init daemon (systemd) to start services, so if you're looking at NixOS, trying to contort it into an application container might not be the easiest way to go about this. There's also no official NixOS docker template. (There's a Nix package manager one but I don't think that's what you want, I don't think it has systemd) What I'm suggesting is more of a LXC-style operating system container that starts NixOS at stage 2. As for how to go about it, This article presents a straight-forward looking solution. Alternatively, you could have the guest share the host's nix-store with miniguest (shameless self-promotion)
nix-index
-
Where to find SAR in the package manager?
nix-index can be used to provide this functionality, and to automate this process you can use nix-index-database (setup instructions are in the README).
-
Nix journey part 0: Learning and reference materials
Are you using flakes? AFAIK `command-not-found` does not work with them. See https://github.com/NixOS/nixpkgs/issues/171054 and https://discourse.nixos.org/t/why-isnt-there-an-official-bui...
I think `nix-index` works as a replacement: https://github.com/bennofs/nix-index
-
spd-say on NixOS
If you are on another distro or mac os there is also nix-index
-
Nix Package Search
nix-index is another option for searching for pkgs. You can search by name, or by specific files within a pkg.
- Alternative to the "dnf provides"
-
Building a program in NixOS
You can use nix-locate from https://github.com/bennofs/nix-index to find files on NixOS:
-
What is the package to install the gsettings binary?
nix-index makes it trivial to find which package contains a given file.
-
How to properly setup git clang-format in a shell.nix
There are two ways I know of: - If you use old-school channels, there's an index in the channel. In particular, the command-not-found hook is able to use that. In this particular case, you would have to guess that git will look for the git-clang-tools, and command-not-found that. This looks like it only works for programs, not arbitrary files. - In any case, you can use the more general nix-index. That's what I did because I use flakes.
-
An automatically-updated nix-index
I use nix-index a lot to find which derivation a file belongs to, but building the index takes a while and so I end up not updating it very frequently.
-
Rant: I want nix, but I'm almost done
Look at the library missing say X Use nix-locate to find the derivation that includes libX.dylib file (if it can’t find the macOS dylib version of the file try using the same name for linux by changing dylib for so) Add the derivation to you environmental and try again It will find the next missing library on the next compile.
What are some alternatives?
qt-virt-manager - Qt Virtual machines manager
nix-index-database - Weekly updated nix-index database [maintainer=@Mic92]
nixbox - NixOS Vagrant boxes [maintainer=@ifurther]
colmena - A simple, stateless NixOS deployment tool
appvm - Nix-based app VMs
nickel - Better configuration for less
nixd - Nix language server, based on nix libraries [maintainer=@inclyc]
persway - Petite Puppeteer of Pandemonium - your very own Sway IPC Imp
home-manager - Manage a user environment using Nix [maintainer=@rycee] [Moved to: https://github.com/nix-community/home-manager]
nix-doc - An interactive Nix documentation tool providing a CLI for function search, a Nix plugin for docs in the REPL, and a ctags implementation for Nix script
nixops - NixOps is a tool for deploying to NixOS machines in a network or cloud.
cue - The home of the CUE language! Validate and define text-based and dynamic configuration