My public NixOS configuration
Find a file
Jalil David Salamé Messina 4e85e68b9d
All checks were successful
/ check (push) Successful in 24s
/ build (docs) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 12s
[fix] nixos: remove big packages
Remove big packages (gcc & clang) from the default configuration (gate
it behind the dev configuration).
2024-07-02 23:37:46 +02:00
.forgejo/workflows [feat] nvim: configure nvim-silicon 2024-06-16 22:21:12 +02:00
.github/workflows [ci] add statix to the check job 2024-05-20 14:15:45 +02:00
docs [fix] *.nix: reformat with alejandra 2024-05-04 20:59:17 +02:00
home [fix] nixos: remove big packages 2024-07-02 23:37:46 +02:00
machines [fix] machines/gemini: remove deprecated module 2024-06-30 14:01:18 +02:00
nvim [feat] nvim: highlight lua codesnippets 2024-07-02 09:44:11 +02:00
system [fix] nixos: remove big packages 2024-07-02 23:37:46 +02:00
.editorconfig feat: Add editorconfig file 2024-01-21 20:56:10 +01:00
.envrc feat: Add a bunch of precommit hooks 2024-01-15 23:59:15 +01: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-07-02 09:29:44 +02:00
flake.nix [chore] flake.lock: update inputs 2024-07-02 09:29:44 +02:00
fmt.nix [feat] ci: add forgejo actions 2024-06-08 22:41:09 +02:00
justfile [feature] justfile: add build-vm and run-vm commands 2024-05-05 14:35:52 +02:00
LICENSE feat: Add license 2024-01-14 18:04:01 +01:00
lint.nix [feat] ci: add forgejo actions 2024-06-08 22:41:09 +02:00
README.md [feature] justfile: add build-vm and run-vm commands 2024-05-05 14:35:52 +02:00
typos.nix [feat] ci: add forgejo actions 2024-06-08 22:41:09 +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.