Jalil David Salamé Messina
92505b6a67
All checks were successful
/ check (push) Successful in 1m26s
/ build (audiomenu) (push) Successful in 3s
/ build (docs) (push) Successful in 3s
/ build (jpassmenu) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 2s
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/057f63b6dc1a2c67301286152eb5af20747a9cb4' (2024-11-16) → 'github:NixOS/nixpkgs/0c582677378f2d9ffcb01490af2f2c678dcb29d3' (2024-11-23) |
||
---|---|---|
.forgejo/workflows | ||
.github/workflows | ||
docs | ||
flake-modules | ||
home | ||
machines/vm | ||
nvim | ||
scripts | ||
system | ||
.editorconfig | ||
.envrc | ||
.gitignore | ||
.typos.toml | ||
flake.lock | ||
flake.nix | ||
justfile | ||
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).
Note
This README only has a small amount of information, if you want to see the full documentation then go to https://jalil-salame.github.io/configuration.nix. I also overenginerd this c: (if you want to copy the docs for your own project, then take a look at the docs folder and the workflow(
build-documentation
anddeploy
)).
Try out in a VM
If you already have nix you can run the following command to try this configuration in a vm:
$ just run-vm
The default user is jdoe
and the default password is example
.
Note
$QEMU_OPTS_WL
is a set of options that will enable Wayland passthrough (and GPU acceleration) and give the VM 2vCPU cores and 2GiB of RAM. This will significantly improve your experience when running the VM so it is recommended, but if Wayland is not available or you don't have enough memory/CPU cores, then you can use-virtio vga
and/or reduce the allocated resources.