mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-06 06:52:13 +05:30
Updated to latest nixos-unstable with xz trojan fix
This commit is contained in:
parent
99fe2336c5
commit
4e4aeba29e
5 changed files with 31 additions and 75 deletions
|
@ -2,7 +2,7 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ lib, pkgs, pkgs-staging-next, systemSettings, userSettings, ... }:
|
||||
{ lib, pkgs, systemSettings, userSettings, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
|
@ -39,14 +39,6 @@ in
|
|||
|
||||
};
|
||||
|
||||
# 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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue