Easier to update Hugo this way. Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
24 lines
721 B
Nix
24 lines
721 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
blog.url = "git+https://dev.danilafe.com/Nix-Configs/blog-static-flake.git";
|
|
blog.inputs.nixpkgs.follows = "nixpkgs";
|
|
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 ];
|
|
};
|
|
};
|
|
}
|