Skip to content

Commit

Permalink
global: fix xz backdoor temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
brckd committed Apr 1, 2024
1 parent deb7e65 commit 3a70da9
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
17 changes: 17 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@

inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";

nixpkgs-staging.url = "github:nixos/nixpkgs/staging-next";

# Systems
home-manager = {
Expand Down
9 changes: 9 additions & 0 deletions modules/nixos/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
pkgs,
nixpkgs-staging,
stylix,
erosanix,
...
Expand All @@ -13,4 +15,11 @@
./pipewire
./steam
];

system.replaceRuntimeDependencies = [
{
original = pkgs.xz;
replacement = nixpkgs-staging.legacyPackages.${pkgs.system}.xz;
}
];
}

0 comments on commit 3a70da9

Please sign in to comment.