use papermod/master

This commit is contained in:
Paul-Nicolas Madelaine 2024-09-10 16:50:59 +02:00
parent d7dd5916d1
commit a2ce4a9ba7
3 changed files with 24 additions and 9 deletions

View file

@ -2,6 +2,10 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
papermod = {
url = "github:adityatelange/hugo-papermod";
flake = false;
};
};
outputs =
@ -9,17 +13,12 @@
self,
nixpkgs,
flake-utils,
papermod,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
papermod = pkgs.fetchFromGitHub {
owner = "adityatelange";
repo = "hugo-PaperMod";
rev = "v7.0";
hash = "sha256-33EnCEvTxZYn31fxZkYJlQXvJsczXMVufSj6QJJHrLk=";
};
website = pkgs.stdenv.mkDerivation {
name = "website";
src = ./.;