Updated to latest nixos-unstable with xz trojan fix

This commit is contained in:
Emmet 2024-04-03 14:46:38 -05:00
parent 99fe2336c5
commit 4e4aeba29e
5 changed files with 31 additions and 75 deletions

View file

@ -1,4 +1,4 @@
{ lib, pkgs, pkgs-staging-next, systemSettings, userSettings, ... }:
{ lib, pkgs, systemSettings, userSettings, ... }:
{
imports =
@ -9,14 +9,6 @@
( import ../../system/app/docker.nix {storageDriver = null; inherit pkgs userSettings lib;} )
];
# xz trojan https://github.com/NixOS/nixpkgs/issues/300055
system.replaceRuntimeDependencies = [
{
original = pkgs.xz;
replacement = pkgs-staging-next.xz;
}
];
# Fix nix path
nix.nixPath = [ "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos"
"nixos-config=$HOME/dotfiles/system/configuration.nix"