server-config/flake.nix
Danila Fedorin 3888606d8c Host the static files required by the blog on a subdomain.
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-11-30 05:51:20 +00:00

23 lines
676 B
Nix

{
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, web-files }:
let
system = "x86_64-linux";
in
{
nixosConfigurations.nixos-droplet-v2 = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit system;
blog = blog.lib."${system}";
web-files = web-files.defaultPackage."${system}";
};
modules = [ ./configuration.nix ];
};
};
}