update readme file
This commit is contained in:
parent
be3db5e095
commit
896b5e04b1
1 changed files with 16 additions and 4 deletions
20
readme.md
20
readme.md
|
@ -6,16 +6,16 @@ machines, but also share useful modules between each other.
|
||||||
```
|
```
|
||||||
lib/ # reusable functions
|
lib/ # reusable functions
|
||||||
modules/ # reusable modules
|
modules/ # reusable modules
|
||||||
|
+-- home/ # home program configurations
|
||||||
+-- macos/ # nix-darwin configurations
|
+-- macos/ # nix-darwin configurations
|
||||||
+-- nixos/ # linux configurations
|
|
||||||
+-- neovim/ # nvf configurations
|
+-- neovim/ # nvf configurations
|
||||||
|
+-- nixos/ # linux configurations
|
||||||
+-- shared/ # shared between nixos-rebuild & darwin-rebuild
|
+-- shared/ # shared between nixos-rebuild & darwin-rebuild
|
||||||
+-- home-manager.nix # home program presets
|
|
||||||
users/
|
users/
|
||||||
+-- chloe/
|
+-- chloe/
|
||||||
| +-- user.nix # info about her
|
| +-- user.nix # info about her
|
||||||
| +-- configuration.nix # for all hosts
|
| +-- configuration.nix # for all hosts (system)
|
||||||
| +-- home.nix # for all hosts
|
| +-- home.nix # for all hosts (userspace)
|
||||||
| +-- vim.nix # for neovim
|
| +-- vim.nix # for neovim
|
||||||
| +-- sandwich/
|
| +-- sandwich/
|
||||||
| | +-- configuration.nix # per host
|
| | +-- configuration.nix # per host
|
||||||
|
@ -67,3 +67,15 @@ Setup `nix-darwin` using the `switch` helper:
|
||||||
```
|
```
|
||||||
./switch
|
./switch
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Neovim configuration
|
||||||
|
|
||||||
|
By default, neovim is configured to all machines in `$PATH`. Neovim can be run
|
||||||
|
directly via `nix run`, which skips needing to build the whole system
|
||||||
|
configuration.
|
||||||
|
|
||||||
|
```
|
||||||
|
nix run .#nvim-natalie # run by user
|
||||||
|
./nvim # run based on your username
|
||||||
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue