My public NixOS configuration https://jalil.salame.cl/configuration.nix
Find a file
Renovate Bot 414f729546
All checks were successful
/ check (nvimDev) (push) Successful in 5s
/ check (nvimHeadless) (push) Successful in 3s
/ check (nvimNoBundledBins) (push) Successful in 4s
/ check (nvimNoLsp) (push) Successful in 5s
/ check (nvimNoTSGrammars) (push) Successful in 5s
/ check (treefmt) (push) Successful in 2s
/ 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
/ report-size (push) Successful in 3s
chore(deps): lock file maintenance
2025-01-13 01:00:45 +01:00
.forgejo/workflows fix(ci): use a matrix for checks 2024-12-26 22:48:29 +01:00
.github/workflows chore(deps): update determinatesystems/magic-nix-cache-action action to v8 2025-01-08 00:50:14 +01:00
docs refactor(docs): move to flake modules 2024-12-26 23:06:49 +01:00
flake-modules refactor(docs): move to flake modules 2024-12-26 23:06:49 +01:00
home fix(jj): draft commit msg error 2024-12-25 10:13:37 +01:00
machines/vm [fix] machines: remove all configurations 2024-07-20 18:36:08 +02:00
nvim fix(neovim): disable ruby support 2025-01-06 20:07:44 +01:00
scripts chore(deps): lock file maintenance 2025-01-12 21:30:19 +01:00
system fix(system): remove unused CLI tools 2025-01-12 21:17:41 +01:00
.editorconfig feat(renovate): enable 2024-12-28 12:44:41 +01:00
.envrc fix(envrc): also fetch other remotes 2024-11-17 13:01:06 +01:00
.gitignore feat(ci): report package sizes 2024-12-15 13:32:12 +01:00
.renovaterc.json fix(renovate): branch creation before automerge 2025-01-05 11:12:51 +01:00
.typos.toml feat(nvim): Add noice plugin (very nice) 2024-03-04 22:20:15 +01:00
flake.lock chore(deps): lock file maintenance 2025-01-13 01:00:45 +01:00
flake.nix fix(flake): don't use flake refs 2024-12-28 12:44:08 +01:00
justfile fix(just): no parallel downloads for vim plugins update 2024-12-03 17:46:21 +01:00
LICENSE feat: Add license 2024-01-14 18:04:01 +01:00
README.md [feature] justfile: add build-vm and run-vm commands 2024-05-05 14:35:52 +02: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).

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

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.