mirror of
https://github.com/kp2pml30/dotfiles.git
synced 2026-02-16 23:34:42 +04:00
16 lines
368 B
Nix
16 lines
368 B
Nix
{ config
|
|
, pkgs
|
|
, lib
|
|
, ...
|
|
}@args:
|
|
let
|
|
cfg = config.kp2pml30.server;
|
|
src = builtins.fetchGit {
|
|
url = "https://github.com/kp2pml30/kp2pml30.github.io.git";
|
|
rev = "0a887a1cd439c93efbe7d46c158102387b6fc470";
|
|
};
|
|
pack = (import "${src}/release.nix" args);
|
|
in lib.mkIf cfg.nginx {
|
|
environment.systemPackages = [ pack ];
|
|
kp2pml30.server.sitePath = pack.outPath;
|
|
}
|