server-config/flake.nix

19 lines
516 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/DanilaFe/blog-static-flake";
};
outputs = { self, nixpkgs, blog }:
let
system = "x86_64-linux";
2021-10-23 01:00:32 -07:00
builders = blog.buildersFor system;
2021-10-22 23:41:12 -07:00
in
{
nixosConfigurations.nixos-droplet-v2 = nixpkgs.lib.nixosSystem {
inherit system;
2021-10-23 01:00:32 -07:00
specialArgs = { inherit system builders; };
2021-10-22 23:41:12 -07:00
modules = [ ./configuration.nix blog.nixosModule ];
};
};
}