Fix passing of self argument to server.nix

This commit is contained in:
Jez Cope 2021-09-11 21:49:56 +01:00
parent f11d7a5970
commit a250b03255
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
(flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system};
in {
defaultPackage = pkgs.callPackage ./nix/build.nix { };
defaultPackage = pkgs.callPackage ./nix/build.nix { inherit self; };
devShell = pkgs.callPackage ./nix/shell.nix { };
})) // {
nixosModule = import ./nix/server.nix;

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, self, ... }:
{
services.nginx = {