Initial commit of blog system!

This commit is contained in:
2021-10-23 06:41:12 +00:00
commit 126235a023
3 changed files with 178 additions and 0 deletions

17
flake.nix Normal file
View File

@@ -0,0 +1,17 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
blog.url = "git+https://dev.danilafe.com/DanilaFe/blog-static-flake";
};
outputs = { self, nixpkgs, blog }:
let
system = "x86_64-linux";
in
{
nixosConfigurations.nixos-droplet-v2 = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit system; blogPkgs = blog.packages."${system}"; };
modules = [ ./configuration.nix blog.nixosModule ];
};
};
}