25 lines
550 B
Nix
25 lines
550 B
Nix
|
{
|
||
|
description = "Portfolio hugo configuration";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||
|
flake-utils.url = "github:numtide/flake-utils";
|
||
|
};
|
||
|
|
||
|
outputs = { self, nixpkgs, flake-utils }:
|
||
|
flake-utils.lib.eachSystem flake-utils.lib.allSystems (system:
|
||
|
let
|
||
|
pkgs = import nixpkgs { inherit system; };
|
||
|
in
|
||
|
{
|
||
|
devShells = {
|
||
|
default = pkgs.mkShell {
|
||
|
packages = with pkgs; [
|
||
|
go
|
||
|
hugo
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
});
|
||
|
}
|