Update flake.nix with latest schema
This commit is contained in:
parent
9007e9e1bf
commit
5fa8417e77
1 changed files with 4 additions and 4 deletions
|
@ -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}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue