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