aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAdrian Kummerlaender2021-08-18 18:46:32 +0200
committerAdrian Kummerlaender2021-08-18 18:46:32 +0200
commit8ec6ada4b1fb7c10b5abda1216daa4502b01ada3 (patch)
tree98d7170821aa2e27ca6d9064f643bde770668de0 /README.md
parentc37719764c7899608a36576ae1ba2b3cc3680e94 (diff)
downloadnixos_home-8ec6ada4b1fb7c10b5abda1216daa4502b01ada3.tar
nixos_home-8ec6ada4b1fb7c10b5abda1216daa4502b01ada3.tar.gz
nixos_home-8ec6ada4b1fb7c10b5abda1216daa4502b01ada3.tar.bz2
nixos_home-8ec6ada4b1fb7c10b5abda1216daa4502b01ada3.tar.lz
nixos_home-8ec6ada4b1fb7c10b5abda1216daa4502b01ada3.tar.xz
nixos_home-8ec6ada4b1fb7c10b5abda1216daa4502b01ada3.tar.zst
nixos_home-8ec6ada4b1fb7c10b5abda1216daa4502b01ada3.zip
Set default derivation, update README
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 12 insertions, 7 deletions
diff --git a/README.md b/README.md
index 4137dde..85b0eac 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
This repository fully describes my current NixOS user environment in a completely reproducible manner using [home-manager](https://github.com/rycee/home-manager/).
Coupling this with the declarative system configuration in [nixos_system](https://code.kummerlaender.eu/nixos_system) I am able to trivially maintain a common computing environment across multiple machines.
-Furthermore it is possible to reproduce this environment on a new computer within half an hour given a sufficiently good network connection.
+Furthermore it is possible to reproduce this environment on a new computer in the time it takes to download and build the derivations.
## Overview
@@ -10,15 +10,20 @@ The desktop environment consisting of XMonad, custom theming and a selection of
`home-manager` doesn't have to be installed in the user environment and is only required for applying the configuration.
-```sh
-nix-shell --command "home-manager switch"
-```
+## Host specific config
-This shell also provides the `niv` utility used for updating the fixed channels.
+The `host` folder contains a selection of host specific definitions to be selected via the hostname declared by the global system config.
-## Host specific config
+## Instantiation
-The `host` folder contains a selection of host specific definitions to be selected by symlinking the desired configuration as `host/current.nix`.
+If you are me and want to instantiate the setup on a new host:
+
+```sh
+nix flake clone git+https://code.kummerlaender.eu/nixos_home -f dotfiles
+cd dotfiles
+cp host/$template.nix host/$hostname.nix
+nix run --impure
+```
## Modules