Add flake nixpkgs to NIX_PATH so comma uses it

This commit is contained in:
NullBite 2024-01-21 16:44:13 +01:00
parent 6cb0dfaea3
commit a685e7b925
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

@ -1,4 +1,4 @@
{ config, lib, pkgs, ...}:
{ config, lib, pkgs, options, inputs, ...}@args:
{
# locale settings
i18n = {
@ -49,6 +49,12 @@
pciutils
];
# this makes comma and legacy nix utils use the flake nixpkgs for ABI
# compatibility becasue once `, vkcube` couldn't find the correct opengl
# driver or something (also it reduces the download size of temporary shell
# closures)
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ] ++ options.nix.nixPath.default;
programs.ssh.enableAskPassword = false;
programs.gnupg.agent = {