Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 550 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 550 Bytes

nixos-config

My NixOS configuration. I have no idea what I'm doing and now you can reproducibly feel the same way.

Setup

git clone git@github.com:NixOS/nixpkgs.git /etx/nixos/nixpkgs
git clone git@github.com: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
    ];
}