configuration.nix/README.md
Jalil David Salamé Messina f1991245fe
feat(nvim): Provide an nixvim standalone config
This allows me to test the neovim configuration much easier and also
adds neovim checks to the flake.
2024-03-03 15:20:42 +01:00

26 lines
979 B
Markdown

# My NixOS Configuration as a NixOS module
This is only intended for my use, but you can see how I overengineer stuff by
looking at it :p (maybe you can also learn some stuff on the way).
This README only has a small amount of information, if you want to see the full
documentation then go to <https://jalil-salame.github.com/configuration.nix>. I
also overengineerd this c: (if you want to copy this for your own project, then
take a look at [the docs folder](./docs/default.nix).
## Try out in a VM
If you already have nix you can run the following commands:
```console
$ nix run nixpkgs#nixos-rebuild -- build-vm --flake .#vm
building the system configuration...
Done. The virtual machine can be started by running /nix/store/$hash-nixos-vm/bin/run-nixos-vm
$ /nix/store/$hash-nixos-vm/bin/run-nixos-vm -vga virtio
```
The default user is `jdoe` and the default password is `example`.
> [!Note]
> The `-vga virtio` flag is important, sway won't run if it is missing.