If you want to follow along, clone this repository on an install of NixOS! Be warned, no promises of things working out of the box. Although, things are quite rudimentary at the moment so it should be easy to follow.
A lot of what I'm doing is coming from existing resources online, notably Zaney's configuration. I use his configuration as a guiding framework. Some of the files in here are essentially from his project and altered to my preferences.
- Must be installed and running on NixOS.
In /etc/nixos/configuration.nix
, point to where you will be developing your NixOS project.
{ config, pkgs, ... }:
{
imports = [
"$HOME/path/to/nix-config/hosts/default/config.nix"
];
}
Next, edit your hardware in flake.nix. I am using a Thinkpad T480s, so you'll want to look for your machine here https://github.com/NixOS/nixos-hardware.
I'll strive to add more setup notes as things progress.