My public NixOS configuration
Jalil David Salamé Messina
2275082351
Flake lock file updates: • Updated input 'stylix': 'github:jalil-salame/stylix/8059347a40023ba7ce2a2b79ed5d17c205a9fb88' (2024-02-08) → 'github:jalil-salame/stylix/20e410269dc0432e6884a1a31403951abf6c155f' (2024-02-09) |
||
---|---|---|
.github/workflows | ||
docs | ||
home | ||
machines | ||
nixos | ||
.editorconfig | ||
.envrc | ||
.gitignore | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md |
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.