My public NixOS configuration
Find a file
Jalil David Salamé Messina 8cc3264f34
All checks were successful
/ check (push) Successful in 20s
/ build (audiomenu) (push) Successful in 2s
/ build (docs) (push) Successful in 2s
/ build (jpassmenu) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 1s
[chore] flake.lock: update inputs
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c42fcfbdfeae23e68fc520f9182dde9f38ad1890' (2024-08-17)
  → 'github:NixOS/nixpkgs/f1bad50880bae73ff2d82fafc22010b4fc097a9c' (2024-08-19)
• Updated input 'nixvim':
    'github:nix-community/nixvim/312db6b6e2d98dd8d22223fe383c7e0b4bab60c6' (2024-08-19)
  → 'github:nix-community/nixvim/851edc8df1347aef556a646c80d469a3137331ba' (2024-08-20)
• Updated input 'nixvim/git-hooks':
    'github:cachix/git-hooks.nix/c7012d0c18567c889b948781bc74a501e92275d1' (2024-08-09)
  → 'github:cachix/git-hooks.nix/bfef0ada09e2c8ac55bbcd0831bd0c9d42e651ba' (2024-08-16)
• Updated input 'nixvim/treefmt-nix':
    'github:numtide/treefmt-nix/349de7bc435bdff37785c2466f054ed1766173be' (2024-08-12)
  → 'github:numtide/treefmt-nix/1d07739554fdc4f8481068f1b11d6ab4c1a4167a' (2024-08-16)
2024-08-21 03:04:45 +02:00
.forgejo/workflows [fix] ci: remove scheduled workflow 2024-08-09 22:59:23 +02:00
.github/workflows fix(ci): install through nix installer action 2024-07-29 16:17:16 +02:00
docs [fix] fmt: change formatter to nixfmt-rfc-style 2024-07-04 22:33:55 +02:00
home fix(sway): audiomenu arguments changed 2024-07-29 09:36:41 +02:00
machines/vm [fix] machines: remove all configurations 2024-07-20 18:36:08 +02:00
nvim [fix] nvim: Rust 1.80.0 broke silicon 2024-08-16 22:10:45 +02:00
scripts [feat] scripts: import audiomenu and RiiR 2024-07-20 01:34:07 +02:00
system [fix] system: disable 8bitdoFix for linux 6.3+ 2024-07-23 21:44:28 +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-08-21 03:04:45 +02:00
flake.nix [fix] flake: switch from unstable-small to unstable 2024-08-18 11:06:48 +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.