My public NixOS configuration
Find a file
Jalil David Salamé Messina 964953188f
All checks were successful
/ check (push) Successful in 43s
/ 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
[chore] flake.lock: update inputs
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9256f7c71a195ebe7a218043d9f93390d49e6884' (2024-11-10)
  → 'github:NixOS/nixpkgs/689fed12a013f56d4c4d3f612489634267d86529' (2024-11-12)
• Updated input 'nixvim':
    'github:nix-community/nixvim/f11a877bcc1d66cc8bd7990c704f91c1e99c7d08' (2024-11-13)
  → 'github:nix-community/nixvim/24fe0dd2478643fcd4dd57c9570b4614fac80144' (2024-11-14)
• Updated input 'unstable':
    'github:NixOS/nixpkgs/76612b17c0ce71689921ca12d9ffdc9c23ce40b2' (2024-11-09)
  → 'github:NixOS/nixpkgs/dc460ec76cbff0e66e269457d7b728432263166c' (2024-11-11)
2024-11-15 03:02:41 +01:00
.forgejo/workflows [fix] ci: remove scheduled workflow 2024-08-09 22:59:23 +02: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(flake): reduce nvim duplication 2024-11-06 22:42:16 +01:00
home fix(devenv): the new versions are incompatible with lix 2024-10-05 13:55:32 +02:00
machines/vm [fix] machines: remove all configurations 2024-07-20 18:36:08 +02:00
nvim feat(nvim): improve startup time by combining plugins 2024-11-07 18:48:36 +01:00
scripts chore(scripts): update Cargo.lock 2024-09-20 09:48:04 +02:00
system fix(system): properly configure jupyter 2024-10-16 18:49:22 +02:00
.editorconfig feat: Add editorconfig file 2024-01-21 20:56:10 +01:00
.envrc feat(envrc): fetch repo on enter 2024-10-12 19:36:55 +02:00
.gitignore [feature] nix: switch to lix 2024-05-10 23:21:25 +02: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-11-15 03:02:41 +01:00
flake.nix feat(flake): switch to treefmt-nix 2024-10-15 22:21:36 +02:00
justfile [feat] nvim: add custom vim plugin management 2024-08-10 14:51:09 +02: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.