diff options
| author | aditya <bluenerd@protonmail.com> | 2023-06-07 17:50:29 +0530 | 
|---|---|---|
| committer | aditya <bluenerd@protonmail.com> | 2023-06-07 17:50:29 +0530 | 
| commit | bdcdee9e0940f63b65708736ee671f6e2c731994 (patch) | |
| tree | 75d32eb02b90a003780b276b613b6a99169c5239 | |
| parent | 075f2df85238bd00b4856984ac23c0d8532aacc3 (diff) | |
update git submodule url
| -rw-r--r-- | .gitmodules | 4 | ||||
| -rw-r--r-- | flake.nix | 19 | 
2 files changed, 21 insertions, 2 deletions
| diff --git a/.gitmodules b/.gitmodules index 6a28afc..d1bdba2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@  [submodule "themes/hugo-theme-even"]  	path = themes/hugo-theme-even -	url = https://banyan.divineduty.xyz/GNUxeava/hugo-theme-even +	url = https://gitea.adityakumar.xyz/aditya/hugo-theme-even  [submodule "themes/even"]  	path = themes/even -	url = https://banyan.divineduty.xyz/GNUxeava/hugo-theme-even +	url = https://gitea.adityakumar.xyz/aditya/hugo-theme-even diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..b59edb8 --- /dev/null +++ b/flake.nix @@ -0,0 +1,19 @@ +{ +  description = "A flake for publishing blog posts to https://blog.adityakumar.xyz/"; + +  inputs.nixpkgs.url = "github:nixos/nixpkgs/23.05"; + +  outputs = { self, nixpkgs }: { +    with import nixpkgs { system = "x86_64-linux"; }; +    stdenv.mkDerivation { +        name = "blog"; +        buildInputs = [ +        pkgs.hugo +        pkgs.rsync +        ]; +        src = self; +        buildPhase = "hugo server"; +        installPhase = "./deploy.sh" +      }; +  }; +} | 
