2021-10-22 23:41:12 -07:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
2023-04-10 19:57:45 -07:00
|
|
|
blog.url = "git+https://dev.danilafe.com/Nix-Configs/blog-static-flake.git";
|
2023-11-29 21:51:20 -08:00
|
|
|
web-files.url = "git+https://dev.danilafe.com/Nix-Configs/web-files.git";
|
2021-10-22 23:41:12 -07:00
|
|
|
};
|
2023-11-29 21:51:20 -08:00
|
|
|
outputs = { self, nixpkgs, blog, web-files }:
|
2021-10-22 23:41:12 -07:00
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
nixosConfigurations.nixos-droplet-v2 = nixpkgs.lib.nixosSystem {
|
2023-04-10 19:57:45 -07:00
|
|
|
inherit system;
|
2023-11-29 21:51:20 -08:00
|
|
|
specialArgs = {
|
|
|
|
inherit system;
|
|
|
|
blog = blog.lib."${system}";
|
|
|
|
web-files = web-files.defaultPackage."${system}";
|
|
|
|
};
|
2023-04-10 19:57:45 -07:00
|
|
|
modules = [ ./configuration.nix ];
|
2021-10-22 23:41:12 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|