18 lines
503 B
Nix
18 lines
503 B
Nix
|
{
|
||
|
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 ];
|
||
|
};
|
||
|
};
|
||
|
}
|