Update flake.nix with latest schema

This commit is contained in:
Erwin Boskma 2022-05-19 21:39:19 +02:00
parent 9007e9e1bf
commit 5fa8417e77
Signed by: erwin
GPG key ID: 270B20D17394F7E5

View file

@ -73,7 +73,7 @@
system = "${system}";
modules = [
{ _module.args.inputs = inputs; }
{ _module.args.self-overlay = self.overlay; }
{ _module.args.self-overlay = self.overlays.default; }
({ ... }: {
imports =
builtins.attrValues self.nixosModules
@ -81,7 +81,7 @@
{
nix.nixPath = [ "nixpkgs=${nixpkgs}" ];
nixpkgs.overlays = [
self.overlay
self.overlays.default
ha-now-playing.overlays.${system}
pamedia.overlays.${system}
];
@ -132,7 +132,7 @@
};
in
{
overlay = import ./overlays;
overlays.default = import ./overlays;
# overlay = final: prev: {
# unstable = import nixpkgs {
# system = "x86_64-linux";
@ -211,7 +211,7 @@
pkgs = import nixpkgs {
inherit system;
overlays = [
self.overlay
self.overlays.default
ha-now-playing.overlays.${system}
pamedia.overlays.${system}
];