Pass self to server.nix
This commit is contained in:
parent
a250b03255
commit
f98bd316d4
|
@ -8,9 +8,9 @@
|
|||
(flake-utils.lib.eachDefaultSystem (system:
|
||||
let pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
defaultPackage = pkgs.callPackage ./nix/build.nix { inherit self; };
|
||||
defaultPackage = pkgs.callPackage ./nix/build.nix { };
|
||||
devShell = pkgs.callPackage ./nix/shell.nix { };
|
||||
})) // {
|
||||
nixosModule = import ./nix/server.nix;
|
||||
nixosModule = import ./nix/server.nix { inherit self; };
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{ config, pkgs, self, ... }:
|
||||
{ self }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.nginx = {
|
||||
|
|
Loading…
Reference in New Issue