My NixOS configuration. I have no idea what I'm doing and now you can reproducibly feel the same way.
git clone [email protected]:NixOS/nixpkgs.git /etx/nixos/nixpkgs
git clone [email protected]:choochootrain/nixos-config.git /etc/nixos/config
export NIX_PATH=/etc/nixos:nixos-config=/etc/nixos/config
sudo nixos-rebuild switch
Then create a default.nix
and import the modules you want. For example:
{ config, pkgs, ... }:
{
imports = [
./machines/thinkpad.nix
./common.nix
];
}