mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 03:18:45 +08:00
system.nixpkgs: fix
This commit is contained in:
parent
12e6b1e42e
commit
bb5d5229a5
@ -123,7 +123,7 @@ inputs:
|
|||||||
};
|
};
|
||||||
programs.ccache = { enable = true; cacheDir = "/var/lib/ccache"; };
|
programs.ccache = { enable = true; cacheDir = "/var/lib/ccache"; };
|
||||||
nix.settings.extra-sandbox-paths = [ inputs.config.programs.ccache.cacheDir ];
|
nix.settings.extra-sandbox-paths = [ inputs.config.programs.ccache.cacheDir ];
|
||||||
boot.kernelPatches = mkIf (nixpkgs.march != null)
|
boot.kernelPatches = mkIf (nixpkgs.march != null && inputs.config.nixos.system.kernel.variant != "steamos")
|
||||||
[{
|
[{
|
||||||
name = "native kernel";
|
name = "native kernel";
|
||||||
patch = null;
|
patch = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user