~rogeruiz/.files.nix

My Nix configuration for Linux and macOS
b20dea95 — Roger Steve Ruiz 5 days ago
Arreglando todo que cambio con Nix 24.11
b6099a68 — Roger Steve Ruiz 5 days ago
Actualizando las versiones de Nix en Flakes y HM
671bc9ef — Roger Steve Ruiz 5 days ago
flake.lock: Update

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~rogeruiz/.files.nix
read/write
git@git.sr.ht:~rogeruiz/.files.nix

You can also use your local clone with git send-email.

#Dot files Nix edition

So I've been curious about Nix for a while. Now that I've gotten a taste of it, I'm going to be using Nix, Home Manager, Nixpkgs, & Nix Darwin to manage a number of things from my operating system on Linux, packages on Darwin, and my home directory across the two using the Nix language. I'll be writing some posts around this topic in the future as well.

#Bootstrapping all this

When starting from scratch, you will need to have a couple of required things installed before the stuff in this project are useful. For starters, you'll need to have nix installed. Along with Nix, you'll need to have home-manager installed as well. And if you're on macOS & not NixOS, you'll need to have nix-darwin installed as well.

#Directory structure

This Nix repository uses Flakes to manage configuration for NixOS, Darwin, & Home Manager. The Home Manager is done as a standalone so that I can avoid having to build out the configuration for my OS separately from my home directory files. There are also some files that aren't directly managed by Home Manager and are documented separately.

This project also houses the Nix Shell configurations for various projects. Some of these Nix files are also saved in another repository, but I keep copies here as both a backup but to also continue learning, testing, and improving them.

#Impurity in this Flake

There is some basic impurities in this Flake. Some of the configuration files are local to ~/.files.nix & expects this path to exist for the user to link these values rather than us the /nix/store derivations.