theme: anemone -> DeepThought

This commit is contained in:
Asmir A 2023-11-15 16:43:50 +01:00
parent aacdd3b2cc
commit 2383c813c1
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2
3 changed files with 29 additions and 4 deletions

View File

@ -7,7 +7,9 @@ compile_sass = true
# Whether to build a search index to be used later on by a JavaScript library
build_search_index = false
theme = "anemone"
theme = "DeepThought"
minify_html = true
[markdown]
highlight_code = true

19
flake.lock generated
View File

@ -19,7 +19,8 @@
"root": {
"inputs": {
"nixpkgs": "nixpkgs",
"theme_anemone": "theme_anemone"
"theme_anemone": "theme_anemone",
"theme_deepthought": "theme_deepthought"
}
},
"theme_anemone": {
@ -37,6 +38,22 @@
"repo": "anemone",
"type": "github"
}
},
"theme_deepthought": {
"flake": false,
"locked": {
"lastModified": 1681035730,
"narHash": "sha256-dzhfGmhuNCbloqknM7lVnFbNYmf2/ue7az6DQok44yM=",
"owner": "RatanShreshtha",
"repo": "DeepThought",
"rev": "430c1d5085dd6bea4cd6bd2d55003db67ba6bea0",
"type": "github"
},
"original": {
"owner": "RatanShreshtha",
"repo": "DeepThought",
"type": "github"
}
}
},
"root": "root",

View File

@ -5,10 +5,16 @@
flake = false;
};
inputs.theme_deepthought = {
url = "github:RatanShreshtha/DeepThought";
flake = false;
};
outputs = {
self,
nixpkgs,
theme_anemone,
theme_deepthought,
}: let
supportedSystems = ["x86_64-linux" "aarch64-linux"];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
@ -16,7 +22,7 @@
url_deploy = "https://project-cloud.net";
url_local = "http://localhost:8080";
name = "project-cloud";
theme = theme_anemone;
theme = theme_deepthought;
package = system: url:
pkgs.${system}.stdenv.mkDerivation {
inherit name;
@ -26,7 +32,7 @@
submodules = true;
buildPhase = ''
ln -s ${theme} themes/anemone
ln -s ${theme} themes/DeepThought
zola build -u ${url}
'';