aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAdrian Kummerlaender2021-08-19 23:33:53 +0200
committerAdrian Kummerlaender2021-08-19 23:33:53 +0200
commit14e72c5f239dd02234cbe467c3a4be1c0845c7cd (patch)
treeffbfe47590e3e74c54e145e76e7da0832e33e4d1 /README.md
parentd7376225387e88547ac56409aefb7443af32b7fd (diff)
downloadnixos_home-14e72c5f239dd02234cbe467c3a4be1c0845c7cd.tar
nixos_home-14e72c5f239dd02234cbe467c3a4be1c0845c7cd.tar.gz
nixos_home-14e72c5f239dd02234cbe467c3a4be1c0845c7cd.tar.bz2
nixos_home-14e72c5f239dd02234cbe467c3a4be1c0845c7cd.tar.lz
nixos_home-14e72c5f239dd02234cbe467c3a4be1c0845c7cd.tar.xz
nixos_home-14e72c5f239dd02234cbe467c3a4be1c0845c7cd.tar.zst
nixos_home-14e72c5f239dd02234cbe467c3a4be1c0845c7cd.zip
Enable pure instantiation of config via flake
i.e. via `nix run .#hostname`. Currently pulling in a pending pull request at jupyterWith for flakeified JupyterLab installations. The entire system consisting of `nixos_system` and `nixos_home` flakes can now be purely instantiated from clones in the user directory. No "/etc/nixos" resp. ".config/nixpkgs" needed. This is nice, probably not going to bother merging both repositories.
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/README.md b/README.md
index 85b0eac..fef4bbb 100644
--- a/README.md
+++ b/README.md
@@ -16,13 +16,12 @@ The `host` folder contains a selection of host specific definitions to be select
## Instantiation
-If you are me and want to instantiate the setup on a new host:
+If you are me and want to instantiate the setup on a given host:
```sh
-nix flake clone git+https://code.kummerlaender.eu/nixos_home -f dotfiles
+nix flake clone git+https://code.kummerlaender.eu/nixos_home --dest dotfiles
cd dotfiles
-cp host/$template.nix host/$hostname.nix
-nix run --impure
+nix run .#host
```
## Modules