Config of my NixOS hosts
Find a file
Paul-Henri Froidmont 05d0920595
fix(nvim): stop treesitter parser drift from local site installs
Force nvim-treesitter to avoid startup parser installs and rely on Nix-provided grammars only, preventing stale ~/.local/share/nvim/site/parser .so files from causing query/parser mismatches (e.g. vim "tab" node errors on ":").
2026-03-25 01:21:20 +01:00
hosts fix(stellaris): stabilize hybrid GPU stack for Wayland/Proton and fix external monitor mode 2026-03-24 23:20:08 +01:00
lib Format using nixfmt rfc style 2024-08-20 22:58:24 +02:00
modules fix(nvim): stop treesitter parser drift from local site installs 2026-03-25 01:21:20 +01:00
packages/mia Remove activitywatch 2026-01-13 13:56:00 +01:00
ssh_keys Remove laptop config 2025-12-23 14:46:30 +01:00
.gitignore Add VS code 2021-08-23 03:55:50 +02:00
common.nix Add wsl 2026-02-26 11:16:03 +01:00
flake.lock Update inputs 2026-03-19 13:11:01 +01:00
flake.nix Use wsl's main branch 2026-02-26 11:18:59 +01:00
overlay.nix Remove activitywatch 2026-01-13 13:56:00 +01:00
README.adoc Use Flakes 2021-07-02 01:47:30 +02:00
UNLICENSE Add UNLICENSE 2021-07-08 19:23:23 +02:00

== Build a config and switch to it
[source,bash]
----
sudo nixos-rebuild switch --flake .#thehostname
----
If `#thehostname` is not provided, it defaults to the current hostname

== Try to build a configuration
[source,bash]
----
nix build .#nixosConfigurations.thehostname.config.system.build.toplevel
----

== Update lock file to the latest inputs
[source,bash]
----
nix flake update
----