From f80ae292baeab8e504368af9a543abb61f553c6a Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Mon, 2 Dec 2024 01:03:01 +0100 Subject: [PATCH] Updated readme --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3383516..2cde6ba 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,19 @@ # Dotfiles -My NixOS configuration. \ No newline at end of file +My NixOS configuration. + +## Usage + +Clone the repository to some directory. `/etc/nixos/git` in this example. + +Set up `configuration.nix`: +```nix +{ ... }: + +{ + imports = [ + ./hardware-configuration.nix + ./git/machines/[machine].nix + ]; +} +``` \ No newline at end of file