Fix passing of self argument to server.nix
This commit is contained in:
parent
f11d7a5970
commit
a250b03255
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, self, ... }:
|
||||
|
||||
{
|
||||
services.nginx = {
|
||||
|
|
Loading…
Reference in New Issue