1 files changed, 16 insertions(+), 4 deletions(-)
readme.md+16-4| ... | @@ -6,16 +6,16 @@ machines, but also share useful modules between each other. | ... | @@ -6,16 +6,16 @@ machines, but also share useful modules between each other. |
| 6 | ``` | 6 | ``` |
| 7 | lib/ # reusable functions | 7 | lib/ # reusable functions |
| 8 | modules/ # reusable modules | 8 | modules/ # reusable modules |
| 9 | +-- home/ # home program configurations | ||
| 9 | +-- macos/ # nix-darwin configurations | 10 | +-- macos/ # nix-darwin configurations |
| 10 | +-- nixos/ # linux configurations | ||
| 11 | +-- neovim/ # nvf configurations | 11 | +-- neovim/ # nvf configurations |
| 12 | +-- nixos/ # linux configurations | ||
| 12 | +-- shared/ # shared between nixos-rebuild & darwin-rebuild | 13 | +-- shared/ # shared between nixos-rebuild & darwin-rebuild |
| 13 | +-- home-manager.nix # home program presets | ||
| 14 | users/ | 14 | users/ |
| 15 | +-- chloe/ | 15 | +-- chloe/ |
| 16 | | +-- user.nix # info about her | 16 | | +-- user.nix # info about her |
| 17 | | +-- configuration.nix # for all hosts | 17 | | +-- configuration.nix # for all hosts (system) |
| 18 | | +-- home.nix # for all hosts | 18 | | +-- home.nix # for all hosts (userspace) |
| 19 | | +-- vim.nix # for neovim | 19 | | +-- vim.nix # for neovim |
| 20 | | +-- sandwich/ | 20 | | +-- sandwich/ |
| 21 | | | +-- configuration.nix # per host | 21 | | | +-- configuration.nix # per host |
| ... | @@ -67,3 +67,15 @@ Setup `nix-darwin` using the `switch` helper: | ... | @@ -67,3 +67,15 @@ Setup `nix-darwin` using the `switch` helper: |
| 67 | ``` | 67 | ``` |
| 68 | ./switch | 68 | ./switch |
| 69 | ``` | 69 | ``` |
| 70 | |||
| 71 | ## Neovim configuration | ||
| 72 | |||
| 73 | By default, neovim is configured to all machines in `$PATH`. Neovim can be run | ||
| 74 | directly via `nix run`, which skips needing to build the whole system | ||
| 75 | configuration. | ||
| 76 | |||
| 77 | ``` | ||
| 78 | nix run .#nvim-natalie # run by user | ||
| 79 | ./nvim # run based on your username | ||
| 80 | ``` | ||
| 81 |