summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorEthel Morgan <eth@ethulhu.co.uk>2020-05-18 15:55:55 +0100
committerEthel Morgan <eth@ethulhu.co.uk>2020-05-18 15:55:55 +0100
commit08f8ee3dd6a0a67ae3667524fd279f7b02993f65 (patch)
tree98280be6fd00bc100c2fcc2a3c0966cfcd1ef7a4 /README.md
parent74af2a8b3b635cde5fb8baaacfa516a5e65935c0 (diff)
add nixpkgs overlays to README.md
Diffstat (limited to '')
-rw-r--r--README.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/README.md b/README.md
index 5fd6247..5838da7 100644
--- a/README.md
+++ b/README.md
@@ -6,13 +6,20 @@ $ cat /etc/nixos/configuration.nix
let
ethNixLocal = import /home/eth/src/nix;
- ethNix = import ( builtins.fetchGit { url = "https://github.com/ethulhu/nix"; } );
-{
+ ethNixRemote = import ( builtins.fetchGit { url = "https://github.com/ethulhu/nix"; } );
+
+ ethNix = ethNixRemote;
+
+in {
imports = [
./hardware-configuration.nix
ethNix.modules
];
+ nixpkgs.overlays = [
+ ethNix.overlays;
+ ];
+
eth.keyboard.enable = true;
}
```