My public NixOS configuration
Find a file
2024-02-24 16:19:00 +01:00
.github/workflows fixup! fix(ci): Deploy condition 2024-02-18 17:04:46 +01:00
docs feat(docs): Generate github source urls 2024-02-18 16:06:32 +01:00
home feat(sway): Set compose key to ralt 2024-02-24 16:19:00 +01:00
machines fix(libra): Reenable dcdebugmask 2024-02-20 18:01:50 +01:00
nvim fixup! feat(docs): Add neovim module documentation 2024-02-18 21:15:10 +01:00
system feat(docs): Add image preview to image options 2024-02-18 16:46:15 +01:00
.editorconfig feat: Add editorconfig file 2024-01-21 20:56:10 +01:00
.envrc feat: Add a bunch of precommit hooks 2024-01-15 23:59:15 +01:00
.gitignore feat: Add a bunch of precommit hooks 2024-01-15 23:59:15 +01:00
flake.lock flake.lock: Update 2024-02-23 19:26:12 +01:00
flake.nix fix: Rename ./nixos to ./system 2024-02-18 15:43:37 +01:00
LICENSE feat: Add license 2024-01-14 18:04:01 +01:00
README.md feat(README): Add instructions to build a test vm 2024-02-02 13:58:22 +01:00

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).

Try out in a VM

If you already have nix you can run the following commands:

$ 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.