My public NixOS configuration https://jalil.salame.cl/configuration.nix
Find a file
Jalil David Salamé Messina d037afe68f
All checks were successful
/ check (push) Successful in 47s
/ 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 2s
/ build (nvim) (push) Successful in 1s
/ report-size (push) Successful in 3s
[chore] flake.lock: update inputs
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/394571358ce82dff7411395829aa6a3aad45b907' (2024-12-16)
  → 'github:NixOS/nixpkgs/b47fd6fa00c6afca88b8ee46cfdb00e104f50bca' (2024-12-19)
• Updated input 'nixvim':
    'github:nix-community/nixvim/37608b462772e35220e02bfbd9045d0946564436' (2024-12-19)
  → 'github:nix-community/nixvim/354fc0f288e045594e2e30da7ff95189d3545a9a' (2024-12-20)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/76159fc74eeac0599c3618e3601ac2b980a29263' (2024-12-18)
  → 'github:numtide/treefmt-nix/65712f5af67234dad91a5a4baee986a8b62dbf8f' (2024-12-20)
2024-12-21 03:00:35 +01:00
.forgejo/workflows fix(ci): update to new action inputs 2024-12-19 23:02:09 +01:00
.github/workflows [fix] ci: remove diagnostic endpoint 2024-08-24 23:44:47 +02:00
docs [fix] fmt: change formatter to nixfmt-rfc-style 2024-07-04 22:33:55 +02:00
flake-modules refactor(docs): rename markdown packages 2024-12-15 13:40:51 +01:00
home [chore] flake.lock: update inputs 2024-12-08 14:07:57 +01:00
machines/vm [fix] machines: remove all configurations 2024-07-20 18:36:08 +02:00
nvim fix(nvim): forward hm cfg options 2024-12-14 23:06:53 +01:00
scripts feat(jpassmenu): tune options to reduce size 2024-12-19 23:35:00 +01:00
system fix(nvim): disable stylix styling 2024-11-20 21:58:52 +01:00
.editorconfig feat: Add editorconfig file 2024-01-21 20:56:10 +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
.typos.toml feat(nvim): Add noice plugin (very nice) 2024-03-04 22:20:15 +01:00
flake.lock [chore] flake.lock: update inputs 2024-12-21 03:00:35 +01:00
flake.nix [chore] flake.lock: update inputs 2024-12-03 17:38:20 +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.