nixpkgs/nixos/modules
Jade Lovelace e456032add nixos/flake: put nixpkgs in NIX_PATH and system registry for flake configs
Currently there are a bunch of really wacky hacks required to get nixpkgs
path correctly set up under flake configs such that `nix run
nixpkgs#hello` and `nix run -f '<nixpkgs>' hello` hit the nixpkgs that
the system was built with. In particular you have to use specialArgs or
an anonymous module, and everyone has to include this hack in their
own configs.

We can do this for users automatically.

I have tested these manually with a basic config; I don't know if it is
even possible to write a nixos test for it since you can't really get a
string-with-context to yourself unless you are in a flake context.
2024-02-03 20:44:38 -08:00
..
config Merge pull request #272552 from SuperSandro2000/ghostscript-nox 2023-12-30 13:23:42 -05:00
hardware nixos/amdgpu-pro: replacce activationScript via tmpfiles 2023-12-29 03:21:32 +01:00
i18n/input-method treewide: /lib/libexec -> /libexec 2023-11-26 10:55:37 +03:00
image image/repart: build image with buildPackages 2023-12-21 15:11:13 -08:00
installer nixos/installer: add a link to how to actually upgrade your system to the stateVersion note 2023-12-29 17:01:04 +03:00
misc nixos/flake: put nixpkgs in NIX_PATH and system registry for flake configs 2024-02-03 20:44:38 -08:00
profiles Merge pull request #273308 from Stunkymonkey/install-device-fix-mdadm 2023-12-25 23:41:10 +01:00
programs Merge pull request #272943 from kira-bruneau/gamemode 2023-12-28 19:10:56 -05:00
security nixos/auditd: fix typo 2024-01-01 17:28:46 +01:00
services Merge pull request #275633 from chreekat/b/sshd-config-check 2024-01-03 16:25:08 +01:00
system Merge pull request #273695 from lopsided98/initrd-systemd-lib-firmware 2024-01-03 04:30:27 -05:00
tasks Merge pull request #195805 from Luflosi/grub-use-correct-zfs-version 2023-12-31 21:33:37 +01:00
testing nixos/test-instrumentation: Fix backdoor ordering 2023-11-12 15:04:38 -05:00
virtualisation nixos/lxd-agent: fix evaluation regression caused by nixos/nixpkgs#271326 2023-12-30 08:45:30 -08:00
module-list.nix nixos/flake: put nixpkgs in NIX_PATH and system registry for flake configs 2024-02-03 20:44:38 -08:00
rename.nix prayer: remove 2023-11-10 20:44:28 -03:00