server-config/flake.nix

18 lines
491 B
Nix
Raw Normal View History

2021-10-22 23:41:12 -07:00
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
blog.url = "git+https://dev.danilafe.com/Nix-Configs/blog-static-flake.git";
2021-10-22 23:41:12 -07:00
};
outputs = { self, nixpkgs, blog }:
let
system = "x86_64-linux";
in
{
nixosConfigurations.nixos-droplet-v2 = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit system; blog = blog.lib."${system}"; };
modules = [ ./configuration.nix ];
2021-10-22 23:41:12 -07:00
};
};
}