Update README
This commit is contained in:
parent
7860ac50de
commit
4293324f36
1 changed files with 39 additions and 2 deletions
41
README.md
41
README.md
|
|
@ -1,2 +1,39 @@
|
||||||
# home-manager flake for neovim, tmux, etc.
|
# Nix config including NixOS, home-manager and infrastructure using deploy-rs
|
||||||
Very much still in progress
|
|
||||||
|
## Starting
|
||||||
|
|
||||||
|
```bash
|
||||||
|
nix develop "github:iofq/nix"
|
||||||
|
```
|
||||||
|
|
||||||
|
## Nixos
|
||||||
|
|
||||||
|
### Building for local machine
|
||||||
|
```bash
|
||||||
|
nixos-rebuild switch --flake .#name
|
||||||
|
```
|
||||||
|
### Building remote hosts
|
||||||
|
```bash
|
||||||
|
nixos-rebuild switch --flake .#name --target-host host
|
||||||
|
```
|
||||||
|
|
||||||
|
### Building remote hosts using deploy-rs
|
||||||
|
```bash
|
||||||
|
nix develop
|
||||||
|
deploy .
|
||||||
|
```
|
||||||
|
|
||||||
|
## Home-manager
|
||||||
|
|
||||||
|
```bash
|
||||||
|
home-manager switch --flake "github:iofq/nix#t14"
|
||||||
|
```
|
||||||
|
|
||||||
|
## Developing
|
||||||
|
|
||||||
|
```
|
||||||
|
direnv allow
|
||||||
|
nix fmt
|
||||||
|
```
|
||||||
|
|
||||||
|
Direnv will also set up git pre-commit hooks to format the repo automatically.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue