Jalil David Salamé Messina
ba7dae4178
All checks were successful
/ check (push) Successful in 20s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/f1bad50880bae73ff2d82fafc22010b4fc097a9c' (2024-08-19) → 'github:NixOS/nixpkgs/224042e9a3039291f22f4f2ded12af95a616cca0' (2024-08-21) • Updated input 'nixvim': 'github:nix-community/nixvim/b7f419a759f70126e220533b724cc17e8528b184' (2024-08-21) → 'github:nix-community/nixvim/1854d591cb0e5be6ad97f5091766cdf28e948265' (2024-08-22) • Updated input 'nixvim/git-hooks': 'github:cachix/git-hooks.nix/bfef0ada09e2c8ac55bbcd0831bd0c9d42e651ba' (2024-08-16) → 'github:cachix/git-hooks.nix/6cedaa7c1b4f82a266e5d30f212273e60d62cb0d' (2024-08-21) • Updated input 'unstable': 'github:NixOS/nixpkgs/8a3354191c0d7144db9756a74755672387b702ba' (2024-08-18) → 'github:NixOS/nixpkgs/c374d94f1536013ca8e92341b540eba4c22f9c62' (2024-08-21) |
||
---|---|---|
.forgejo/workflows | ||
.github/workflows | ||
docs | ||
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.