Add basic readme
This commit is contained in:
parent
3626a8cb99
commit
fc21e3db22
1 changed files with 14 additions and 0 deletions
14
README.md
Normal file
14
README.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Nix-Config
|
||||
|
||||
## Installation
|
||||
|
||||
The NixOS installer image comes with password SSH auth disabled. Simply allowing the public Git keys is a nice workaround.
|
||||
```sh
|
||||
sudo systemctl start sshd
|
||||
mkdir ~/.ssh; curl https://git.ghoscht.com/ghoscht.keys > ~/.ssh/authorized_keys
|
||||
```
|
||||
|
||||
The specific config from "hosts" can be installed using the following command. Limiting the download speed is optional, but can come in handy.
|
||||
```sh
|
||||
sudo nixos-install --option download-speed 4000 --flake .#<CONFIG_NAME_HERE>
|
||||
```
|
Loading…
Reference in a new issue