.dots
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.
.dots
-
Fish and nix develop question
I have a wrapper function that just maps to dev to make life easier: https://github.com/dmadisetti/.dots/blob/template/dot/config/fish/functions/develop.fish
-
Possible to make a machine independent NixOS configuration/flake?
Never fully got it to work, so I just encrypt my secrets when I build my isos: https://github.com/dmadisetti/.dots/actions/runs/5055636638/jobs/9072093945
-
Hardware configuration in nix flake dotfiles?
I have multiple files for each machine based on hostname. I have CI strip my config of all system specific information for general distribution. For reference: https://github.com/dmadisetti/.dots
-
Using current flake setup with WSL2
I build a wsl image: https://github.com/dmadisetti/.dots/blob/template/nix/machines/wsl.nix
- Diving straight into flakes with no channels?
-
how to store secrets needed at install time
What I do: Keep secrets in a separate git repo as a flake, and have a stub flake, that can be overridden: https://github.com/dmadisetti/.dots/tree/template/nix/spoof
-
Rice NixOS?
My dots
-
(maybe) ex arch user need some help to understand
I have a script that will symlink my dotfiles in (github:dmadisetti/.dots/setup.sh), because you also end up with weird RO permissions if you do it through Nix. I think this is fine. It also means that you aren't stuck with Nix
-
Have a shell command in configuration.nix that runs on nixos-rebuild
The way I manage multiple systems is with a wrapper: https://github.com/dmadisetti/.dots/blob/template/dot/config/fish/functions/snix.fish
-
Arch user, convince me to hop to Nix
The only thing that is semi manual is setting up disks on first install (something you'd still have to do with arch). You can still script that: https://github.com/dmadisetti/.dots/blob/template/scripts/run-install.nix.sh
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?
deploy-rs - A simple multi-profile Nix-flake deploy tool.
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
krops - Mirror of https://cgit.krebsco.de/krops/about/ (PRs / issues accepted, as can be seen by not having them disabled)
flake-utils-plus - Use Nix flakes without any fluff.
nixos-config - My NixOS configurations.
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.
nix-starter-configs - Simple and documented config templates to help you get started with NixOS + home-manager + flakes. All the boilerplate you need!
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
nixfiles - My NixOS configuration and assorted other crap.
napalm - Support for building npm packages in Nix and lightweight npm registry [maintainer @jtojnar]
nixcfg - My nix configuration(s), using flakes. It's my laptop, it's my servers, it's my everything, in code.
nix-bundle - Bundle Nix derivations to run anywhere!