nixos-shell
nixGL
nixos-shell | nixGL | |
---|---|---|
6 | 26 | |
567 | 604 | |
- | 3.5% | |
6.1 | 5.1 | |
about 1 month ago | 15 days ago | |
Nix | Nix | |
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.
nixos-shell
-
Using NixOS as a Hypervisor for a k3s Cluster in Homelab, can I define the VMs in Nix config?
Just found this: https://github.com/Mic92/nixos-shell
-
Manage libvirt's XMLs with Nix?
There is nixos-shell, but I'm thinking about Windows VM's mostly.
- Headless QEMU virtual machines based on Nix
-
NixOS 21.05 Released
>It doesn't work so well for I borrowed my coworker's computer for 5 minutes and want to use my own Vim configuration
You could use something like nixos-shell[1] to spin up a headless VM of your machine into your current shell.
[1]https://github.com/Mic92/nixos-shell
-
How do you enter the NixOS docker container?
as mentioned, the Nix docker container isnt a full NixOS system, it's just the nix package manager. If you want to try a quick full NixOS setup I really like https://github.com/Mic92/nixos-shell . It spawns a lightweight NixOS vm in the current shell. No qemu or kvm setup or knowledge required.
-
Way to install apps in their own FHS environment.
For testing stuff you can also use nixos-shell
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?
nix-darwin - nix modules for darwin
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
nixos-fhs-compat - LSB&FHS compatibility for NixOS. Intended for containers and VMs.
flake-utils-plus - Use Nix flakes without any fluff.
nixos-generators - Collection of image builders [maintainer=@Lassulus]
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.
poetry2nix - Convert poetry projects to nix automagically [maintainer=@adisbladis]
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
NUR - Nix User Repository: User contributed nix packages [maintainer=@Mic92]
napalm - Support for building npm packages in Nix and lightweight npm registry [maintainer @jtojnar]
nix-bundle - Bundle Nix derivations to run anywhere!