diff options
author | Vincent Ambo <mail@tazj.in> | 2021-03-22T23·14+0200 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-03-23T21·00+0000 |
commit | 4daa4c192374a0e6e5596507541d832dd5d02f4d (patch) | |
tree | ed9ae942ec429f18ba88567463a5808b41498249 /users/tazjin | |
parent | d053abfd2a52d663fb31bf15b910cd7145abc285 (diff) |
fix(tazjin/tverskoy): Forcefully set nix.nixPath r/2320
The out-of-sync channel was previously causing OpenGL applications in nix-shells to fail. Change-Id: Ie527ef70b49468dfb62091abfa878ba1b361fc6d Reviewed-on: https://cl.tvl.fyi/c/depot/+/2643 Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: lukegb <lukegb@tvl.fyi> Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin')
-rw-r--r-- | users/tazjin/nixos/tverskoy/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix index fb84fd7281eb..066d54899f84 100644 --- a/users/tazjin/nixos/tverskoy/default.nix +++ b/users/tazjin/nixos/tverskoy/default.nix @@ -22,6 +22,12 @@ in lib.fix(self: { "${nixpkgs.home-manager.src}/nixos" ]; + nix.nixPath = lib.mkForce [ + "nixpkgs=${depot.third_party.nixpkgsSrc}" + "nixos=${depot.third_party.nixpkgsSrc}" + "depot=/depot" + ]; + boot = { initrd.availableKernelModules = [ "nvme" "ehci_pci" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; initrd.kernelModules = [ ]; |