mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-12-18 15:01:09 +01:00
Merge branch 'master' into master
This commit is contained in:
commit
6599768ed5
5 changed files with 61 additions and 94 deletions
13
flake.nix
13
flake.nix
|
|
@ -62,15 +62,18 @@
|
|||
core = import ./overlays (builtins.removeAttrs srcs [ "self" ]);
|
||||
libcamera = import ./overlays/libcamera.nix (builtins.removeAttrs srcs [ "self" ]);
|
||||
};
|
||||
nixosModules.raspberry-pi = import ./rpi {
|
||||
inherit pinned;
|
||||
core-overlay = self.overlays.core;
|
||||
libcamera-overlay = self.overlays.libcamera;
|
||||
nixosModules = {
|
||||
raspberry-pi = import ./rpi {
|
||||
inherit pinned;
|
||||
core-overlay = self.overlays.core;
|
||||
libcamera-overlay = self.overlays.libcamera;
|
||||
};
|
||||
sd-image = import ./sd-image;
|
||||
};
|
||||
nixosConfigurations = {
|
||||
rpi-example = pinned.lib.nixosSystem {
|
||||
system = targetSystem;
|
||||
modules = [ self.nixosModules.raspberry-pi ./example ];
|
||||
modules = [ self.nixosModules.raspberry-pi self.nixosModules.sd-image ./example ];
|
||||
pkgs = pinned;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue