fix some compat for rpi4
This commit is contained in:
parent
470464dc47
commit
ed53e0aaf6
5 changed files with 24 additions and 17 deletions
13
flake.nix
13
flake.nix
|
|
@ -9,10 +9,17 @@
|
|||
|
||||
outputs = { nixpkgs, nixos-hardware, nixpkgs-unstable, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
system-x86 = "x86_64-linux";
|
||||
overlay-unstable = final: prev: {
|
||||
unstable = import nixpkgs-unstable {
|
||||
inherit system;
|
||||
inherit system-x86;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
};
|
||||
system-arm64 = "aarch64-linux";
|
||||
overlay-unstable-arm = final: prev: {
|
||||
unstable = import nixpkgs-unstable {
|
||||
inherit system-arm64;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
};
|
||||
|
|
@ -44,7 +51,7 @@
|
|||
./extras/gaming.nix
|
||||
];
|
||||
NObangers = nixosSystem [
|
||||
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
||||
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable-arm ]; })
|
||||
nixos-hw.raspberry-pi-4
|
||||
./systems/BASED.nix
|
||||
./systems/NObangers.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue