Updated Readme
This commit is contained in:
parent
73c4756de6
commit
3f11f64135
14
README.md
14
README.md
|
@ -4,16 +4,4 @@ My NixOS configuration.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Clone the repository to some directory. `/etc/nixos/git` in this example.
|
Clone the repository to some directory. And build with `sudo nixos-rebuild switch --flake /directory/containing/flake.nix/`.
|
||||||
|
|
||||||
Set up `configuration.nix`:
|
|
||||||
```nix
|
|
||||||
{ ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./hardware-configuration.nix
|
|
||||||
./git/machines/[machine].nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
```
|
|
Loading…
Reference in New Issue