nixfiles
nix-config
nixfiles | nix-config | |
---|---|---|
8 | 8 | |
149 | 642 | |
- | - | |
9.0 | 9.7 | |
27 days ago | 3 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.
nixfiles
- My First Impressions of Nix
-
How can I calculate the "age of money" with (h)ledger?
If you're familiar with Python, I have a script which does that (along with a few other metrics): https://github.com/barrucadu/nixfiles/blob/1c99414156a7081ade210a9f43a3941b44a4ef0b/hosts/nyarlathotep/jobs/hledger-export-to-promscale.py
-
Issues getting docker containers with databases set up
I run a lot of services through docker containers, here's how I structure things: https://github.com/barrucadu/nixfiles/blob/master/services/concourse.nix
-
Who's here runs NixOS with opt in state?
I do. I have a fairly small chunk of configuration to stick all persistent state I care about in a different ZFS dataset (mounted to /persist) and do the rollback.
-
Do you all just git init inside your /etc/nixos directory?
It's what I do.
-
Erase your darlings: immutable infrastructure for mutable systems (erasing root on every boot)
You can see the relevant bit of my config on github.
-
How do you manage your private keys?
My solution - which is not great, mind you - is to have my NixOS config defined across two git repos: one is public, the other is private and has all the secrets.
-
Erasing root on every boot
All my nixos config is on github.
nix-config
-
What is the current recommended documentation when starting out with NixOs?
All the resources mentioned in other comments are pretty good, but mostly they are unofficial. The official NixOS wiki is very outdated and unmaintained. You will have better luck reading other people’s configurations, nixpkgs source code and GitHub issues. For the nix language the official wiki is a nice reference https://nixos.org/manual/nix/stable/language/index.html. This configuration is a great starting point https://github.com/Misterio77/nix-config for learning by example. It covers most of what you may need, although bootstrapping your own config is quite rough. You may want to take a look at https://github.com/Misterio77/nix-starter-configs. It’s very basic and should be simple to understand and improve.
-
My First Impressions of Nix
Yes. E.g. some guy's config with 6 different machines[1]: multiple desktops, laptops, servers, a Raspberry Pi, and a VPS. That's a rather advanced use of Nix for configuration, but definitely shows what it's capable of.
[1] https://github.com/Misterio77/nix-config
-
Tool for commiting and tagging when rebuilding
https://github.com/Misterio77/nix-config/blob/main/hosts/celaeno/services/hydra/lib/release-host-branch.nix https://github.com/Misterio77/nix-config/blob/main/hosts/celaeno/services/hydra/default.nix#L39
-
introducing packwiz2nix: one of the best tools for creating minecraft modpacks, now compatible with nix!
Implementation: https://github.com/Misterio77/nix-config/blob/main/pkgs/fetch-packwiz-pack/default.nix
-
Looking for examples of a fully declarative system
the one i reference all the time is https://github.com/Misterio77/nix-config
-
Building a highly optimized home environment with Nix
I believe Misterio77's does use it in his config.
-
Impermanence, wipe root on boot, possible?
I reuse the same btrfs logic on all my computers, including a RPi: https://github.com/Misterio77/nix-config/blob/main/hosts/common/btrfs-optin-persistence.nix
- Who's here runs NixOS with opt in state?
What are some alternatives?
sops-nix - Atomic secret provisioning for NixOS based on sops
impermanence - Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]
NixOS-Guide - NixOS Guide. Learn all about the immutable Nix Operating System and the declarative Nix Expression Language.
rasp-nix - My Raspberry Pi(4) NixOS Configuration
agenix - age-encrypted secrets for NixOS and Home manager
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
.dots - just my .dotfiles
infra - NixOS configurations for nixos.org and its servers
digga - A flake utility library to craft shell-, home-, and hosts- environments.
infra
nix-starter-configs - Simple and documented config templates to help you get started with NixOS + home-manager + flakes. All the boilerplate you need!