Host the static files required by the blog on a subdomain.
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
@@ -2,15 +2,20 @@
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
blog.url = "git+https://dev.danilafe.com/Nix-Configs/blog-static-flake.git";
|
||||
web-files.url = "git+https://dev.danilafe.com/Nix-Configs/web-files.git";
|
||||
};
|
||||
outputs = { self, nixpkgs, blog }:
|
||||
outputs = { self, nixpkgs, blog, web-files }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
in
|
||||
{
|
||||
nixosConfigurations.nixos-droplet-v2 = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = { inherit system; blog = blog.lib."${system}"; };
|
||||
specialArgs = {
|
||||
inherit system;
|
||||
blog = blog.lib."${system}";
|
||||
web-files = web-files.defaultPackage."${system}";
|
||||
};
|
||||
modules = [ ./configuration.nix ];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user