use papermod/master
This commit is contained in:
parent
d7dd5916d1
commit
a2ce4a9ba7
3 changed files with 24 additions and 9 deletions
11
flake.nix
11
flake.nix
|
@ -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 = ./.;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue