Skip to content

Commit

Permalink
Add zen4
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRTitor committed Mar 6, 2024
1 parent 2abdc78 commit c301d11
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 47 deletions.
18 changes: 16 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,29 @@

# configure stable pkgs
pkgs = import nixpkgs {
system = systemSettings.system;
# Add zen4 support
localSystem = let
featureSupport = arch:
lib.mapAttrs (_: f: f arch) lib.systems.architectures.predicates;
in {
system = "x86_64-linux";
} // featureSupport "znver4";

config = {
allowUnfree = true;
allowUnfreePredicate = (_: true);
};
# overlays = [ rust-overlay.overlays.default ];
};
pkgs-unstable = import nixpkgs-unstable {
system = systemSettings.system;
# Add zen4 support
localSystem = let
featureSupport = arch:
lib.mapAttrs (_: f: f arch) lib.systems.architectures.predicates;
in {
system = "x86_64-linux";
} // featureSupport "znver4";

config = {
allowUnfree = true;
allowUnfreePredicate = (_: true);
Expand Down
45 changes: 0 additions & 45 deletions testl

This file was deleted.

0 comments on commit c301d11

Please sign in to comment.