mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-11-08 11:36:04 +01:00
move libcamera stuff into a separate overlay
This commit is contained in:
parent
2e2c5b13fb
commit
9c35dd99cf
6 changed files with 51 additions and 30 deletions
10
flake.nix
10
flake.nix
|
|
@ -37,7 +37,13 @@
|
|||
};
|
||||
|
||||
outputs = srcs@{ self, ... }: {
|
||||
overlay = import ./overlay (builtins.removeAttrs srcs [ "self" ]);
|
||||
nixosModules.raspberry-pi = import ./rpi { overlay = self.overlay; };
|
||||
overlays = {
|
||||
core = import ./overlays (builtins.removeAttrs srcs [ "self" ]);
|
||||
libcamera = import ./overlays/libcamera.nix (builtins.removeAttrs srcs [ "self" ]);
|
||||
};
|
||||
nixosModules.raspberry-pi = import ./rpi {
|
||||
core-overlay = self.overlays.core;
|
||||
libcamera-overlay = self.overlays.libcamera;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue