Compare commits

..

6 commits

11 changed files with 51 additions and 6 deletions

2
.envrc
View file

@ -1,2 +1,2 @@
# shellcheck shell=bash # shellcheck shell=bash
use flake use flake . --builders ""

View file

@ -45,6 +45,24 @@
networking.firewall.allowedTCPPorts = [9090]; networking.firewall.allowedTCPPorts = [9090];
# TODO: make this its own module!
home-manager.users.moritz.programs.jujutsu = {
enable = true;
settings = {
user = {
email = "mail@moritzboeh.me";
name = "Moritz Böhme";
};
ui.paginate = "never";
signing = {
behavior = "drop";
backend = "gpg";
key = "0x970C6E89EB0547A9";
};
git.sign-on-push = true;
};
};
home-manager.users.moritz.services.kanshi.settings = [ home-manager.users.moritz.services.kanshi.settings = [
{ {
profile.name = "default"; profile.name = "default";

View file

@ -9,11 +9,14 @@ description = "Stay a while :)"
compile_sass = true compile_sass = true
# Whether to build a search index to be used later on by a JavaScript library # Whether to build a search index to be used later on by a JavaScript library
build_search_index = true build_search_index = false # NOTE: enable this when adding a search script
# The site theme to use. # The site theme to use.
theme = "anemone" theme = "anemone"
# When set to "true", a feed is automatically generated.
generate_feeds = false
[markdown] [markdown]
# Whether to do syntax highlighting # Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola # Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola

View file

@ -1,3 +1,7 @@
+++ +++
+++ +++
Hello World!
# Links
- {{ mastodon_root(text="mastodon") }}
- [git](https://git.moritzboeh.me/)
- [mail](mailto:contact@moritz.place)

View file

@ -22,5 +22,16 @@
installPhase = "cp -r public $out"; installPhase = "cp -r public $out";
}; };
in { in {
services.nginx.virtualHosts."moritz.place".locations."/".root = "${package}"; services.nginx.virtualHosts."moritz.place".root = "${package}";
services.nginx.virtualHosts."moritz.place".locations."/" = {
index = "index.html";
tryFiles = ''"''${uri}.html" $uri $uri/ =404'';
};
services.nginx.virtualHosts."moritz.place".extraConfig = ''
error_page 404 /404.html;
location = /404.html {
internal;
}
'';
} }

View file

@ -0,0 +1,5 @@
User-agent: *
Allow: /$
Allow: /{{ get_url(path="sitemap.xml") }}
Disallow: /
Sitemap: {{ get_url(path="sitemap.xml") }}

View file

@ -0,0 +1 @@
<meta name="fediverse:creator" content="@moritz@functional.cafe">

View file

@ -0,0 +1 @@
<a rel="me" href="https://functional.cafe/@moritz">{{ text | safe }}</a>

View file

@ -65,7 +65,6 @@ in {
''; '';
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [ extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
darkreader darkreader
firefox-color
istilldontcareaboutcookies istilldontcareaboutcookies
kagi-search kagi-search
keepassxc-browser keepassxc-browser

View file

@ -137,6 +137,9 @@ in {
loadingText = "Creating conventional commit..."; loadingText = "Creating conventional commit...";
} }
]; ];
git = {
overrideGpg = true;
};
}; };
}; };
}; };

View file

@ -30,7 +30,7 @@ in {
nix = { nix = {
nixPath = ["nixpkgs=${inputs.nixpkgs}"]; nixPath = ["nixpkgs=${inputs.nixpkgs}"];
package = pkgs.lix; package = pkgs.nix; # TODO: change this back
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes