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

• Updated input 'nixvim':
    'github:nix-community/nixvim/929bb0cd1cffb9917ab14be9cdb3f27efd6f505f' (2024-11-19)
  → 'github:nix-community/nixvim/2f71c4250bef7a52fe21bd00d1e58c119f62008c' (2024-11-20)
• Updated input 'stylix/base16':
    'github:SenchoPens/base16.nix/665b3c6748534eb766c777298721cece9453fdae' (2024-02-25)
  → 'github:SenchoPens/base16.nix/d8e769add6333892b44afc107f193074a5072717' (2024-11-18)
• Updated input 'stylix/base16/fromYaml':
    'github:SenchoPens/fromYaml/11fbbbfb32e3289d3c631e0134a23854e7865c84' (2023-07-16)
  → 'github:SenchoPens/fromYaml/106af9e2f715e2d828df706c386a685698f3223b' (2024-11-18)
• Updated input 'stylix/base16-helix':
    'github:tinted-theming/base16-helix/dbe1480d99fe80f08df7970e471fac24c05f2ddb' (2023-10-08)
  → 'github:tinted-theming/base16-helix/7f795bf75d38e0eea9fed287264067ca187b88a9' (2024-09-09)
• Updated input 'stylix/base16-vim':
    'github:tinted-theming/base16-vim/61165b1632409bd55e530f3dbdd4477f011cadc6' (2024-11-18)
  → 'github:tinted-theming/base16-vim/6e955d704d046b0dc3e5c2d68a2a6eeffd2b5d3d' (2024-05-19)
• Updated input 'stylix/tinted-tmux':
    'github:tinted-theming/tinted-tmux/f0e7f7974a6441033eb0a172a0342e96722b4f14' (2024-10-21)
  → 'github:tinted-theming/tinted-tmux/c02050bebb60dbb20cb433cd4d8ce668ecc11ba7' (2023-10-08)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/5f5c2787576f3e39bbc2ebdbf8521b3177c5c19c' (2024-11-19)
  → 'github:numtide/treefmt-nix/62003fdad7a5ab7b6af3ea9bd7290e4c220277d0' (2024-11-20)
• Updated input 'unstable':
    'github:NixOS/nixpkgs/5e4fbfb6b3de1aa2872b76d49fafc942626e2add' (2024-11-15)
  → 'github:NixOS/nixpkgs/23e89b7da85c3640bbc2173fe04f4bd114342367' (2024-11-19)
2024-11-21 03:02:05 +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 fix: deprecated code after ugrade to 24.11 2024-11-20 18:18:57 +01:00
home feat: add language directives for embedded languages 2024-11-20 21:39:13 +01:00
machines/vm [fix] machines: remove all configurations 2024-07-20 18:36:08 +02:00
nvim fix(nvim): remove numbers from sign column in terminal window 2024-11-20 21:59:44 +01:00
scripts chore(scripts): update Cargo.lock 2024-09-20 09:48:04 +02: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 [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-21 03:02:05 +01:00
flake.nix feat: update lix to 1.29.1-1 2024-11-20 18:51:28 +01: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.