mirror of
https://git.adityakumar.xyz/adityakumar.xyz.git
synced 2024-09-07 21:10:40 +00:00
add theme
This commit is contained in:
parent
d5c29aae84
commit
95a4e47664
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "themes/introduction"]
|
||||
path = themes/introduction
|
||||
url = https://gitea.adityakumar.xyz/aditya/hugo-theme-introduction.git
|
27
flake.lock
Normal file
27
flake.lock
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1685566663,
|
||||
"narHash": "sha256-btHN1czJ6rzteeCuE/PNrdssqYD2nIA4w48miQAFloM=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "4ecab3273592f27479a583fb6d975d4aba3486fe",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "23.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
20
flake.nix
Normal file
20
flake.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
description = "A flake for publishing blog posts to https://blog.adityakumar.xyz/";
|
||||
|
||||
inputs.nixpkgs.url = "github:nixos/nixpkgs/23.05";
|
||||
|
||||
outputs = { self, nixpkgs }: {
|
||||
packages.x86_64-linux.default = with import nixpkgs { system = "x86_64-linux"; };
|
||||
stdenv.mkDerivation {
|
||||
name = "blog";
|
||||
buildInputs = [
|
||||
pkgs.hugo
|
||||
pkgs.rsync
|
||||
pkgs.nodejs
|
||||
];
|
||||
src = self;
|
||||
buildPhase = "hugo server";
|
||||
installPhase = "./deploy.sh";
|
||||
};
|
||||
};
|
||||
}
|
1
themes/introduction
Submodule
1
themes/introduction
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 3df512ad7dceca20565fca4a12ce7f3056c88a48
|
Loading…
Reference in a new issue