nix
nixGL
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.
nix
-
NixOS 21.05 Released
I was able to make the switch over cold turkey after ~9 years of ArchLinux.
By sheer happenstance, I blogged earlier this week about one particular killer feature that doesn't get enough air time: https://news.ycombinator.com/item?id=27344677
My not-flake-yet configuration can be found at https://github.com/rraval/nix
-
Nix solves the package manager ejection problem
> How do NixOS users typically manage software that is not a Nix package
By writing a Nix package for it (I don't mean for this to sound flippant, tone is a bit hard to convey over text).
For example I have this alpha quality rust binary that I'm developing but I also want a stable version installed at the OS level. I write a Nix package and simply compose it into my overall NixOS configuration alongside the more official Nixpkgs: https://github.com/rraval/nix/blob/master/git-nomad.nix
> like a source code tarball where you would traditionally run configure && make && make install?
Nix has a bunch of defaults that make a conventional package like this straightforward.
Here's a package for a vanilla C binary + library that does the `autoreconf && ./configure && make && make install` dance: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/secu...
It's almost a little misleading because the actual steps are largely inherited from the defaults, you can read more about `stdenv.mkDerivation` here: https://nixos.org/guides/nix-pills/fundamentals-of-stdenv.ht...
nixGL
-
Ask HN: Are there wrapper/runner programs that encrypt writes and decrypt reads?
How can a program accomplish this? by using/doing something like virtualization? emulation? syscall/API translation? e.g. like WINE?
[1] https://github.com/nix-community/nixGL
-
Nix without NixOS, how doable is this and how much do I miss?
Essentially, running stuff that needs GL graphics is a bit funky... There's a workaround called nixGL though.
-
Calibre Replacement Considerations
I think installing Calibre is a good use case for installing Nix (www.nixos.org).
Unfortunately, you might also need https://github.com/guibou/nixGL to run graphical apps under Nix. It's a shell script to use the correct OpenGL library.
-
Nix-env apps on Debian unable to be executed via GUI KDE.
Try the NixGL wrapper.
-
Issue: with python-matplotlib
Are you running the Nix package manager on not-NixOS? If so I recall needing NixGL for OpenGL integration.
-
How do I update packages when using home-manager?
$ nix-channel --list home-manager https://github.com/nix-community/home-manager/archive/release-22.05.tar.gz nixgl https://github.com/guibou/nixGL/archive/main.tar.gz nixos https://nixos.org/channels/nixos-unstable
-
functional
Needs a separate program to run GUI applications on non-NixOS systems
-
Imagine your entire purpose being made completely obsolete by a single compiler option
IMO the proper solution to this is Nix/Guix, since they have the best of both worlds (sharing libraries where possible, but allowing different versions where needed). Shame that libGL is a mess and as such is difficult to get right in this way, and as such you need hacks like https://github.com/guibou/nixGL for most GUI stuff. That said, people are working on improving the situation.
-
Setting up my new laptop: Nix style
I get what you mean, but keep in mind that for every distro you're reliant on the community to get nvidia support integrated. Also if you only have few apps that require it, then the nixGL flake is not bad. https://github.com/guibou/nixGL
-
Unable to run alacritty using nix
nix-channel --add https://github.com/guibou/nixGL/archive/main.tar.gz nixgl && nix-channel --update warning: unable to download 'https://cache.nixos.org/v5djb4jw3hg4brdbidqaspin8n8isyq6.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 259 ms these derivations will be built: /nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv building '/nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv'... while setting up the build environment: executing '/bin/bash': No such file or directory builder for '/nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv' failed with exit code 1 error: build of '/nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv' failed error: program '/usr/bin/nix-build' failed with exit code 100
What are some alternatives?
napalm - Support for building npm packages in Nix and lightweight npm registry [maintainer @jtojnar]
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
flake-utils-plus - Use Nix flakes without any fluff.
NixOS-docker - DEPRECATED! Dockerfiles to package Nix in a minimal docker container
not-os - An operating system generator, based on NixOS, that, given a config, outputs a small (47 MB), read-only squashfs for a runit-based operating system, with support for iPXE and signed boot.
runix
archbox - Easy to use Arch Linux chroot environment with some functionalities to integrate it with your existing Linux installation. Mirror of https://momodev.lemniskett.moe/lemniskett/archbox
nixos-generators - Collection of image builders [maintainer=@Lassulus]
nix-bundle - Bundle Nix derivations to run anywhere!