wallabag 1

This commit is contained in:
Tasia Iso 2024-10-13 18:49:45 +02:00
parent 3dc7013f0f
commit de76a63ff1
Signed by: tasiaiso
SSH key fingerprint: SHA256:KiRjUay5C9i6objsEOIycygBHn54pDBB3Lj7fyJ0Elw
3 changed files with 38 additions and 0 deletions

View file

@ -69,6 +69,8 @@ in {
}; };
}; };
virtualisation.docker.enable = true;
# change when ppl can make their own website # change when ppl can make their own website
security.acme = { security.acme = {
acceptTerms = true; acceptTerms = true;

View file

@ -0,0 +1,7 @@
{config,...}: {
services.nginx.virtualHosts."wallabag.vulpecula.zone" = {
addSSL = true;
enableACME = true;
locations."/".proxyPass = "http://localhost:62106";
};
}

View file

@ -49,6 +49,7 @@ in {
inputs.agenix.nixosModules.default inputs.agenix.nixosModules.default
../../common/components/wifi-secrets.nix ../../common/components/wifi-secrets.nix
inputs.thymis.nixosModules.thymis-controller
# Personal modules # Personal modules
# ../../modules/nixos/tildefriends.nix # ../../modules/nixos/tildefriends.nix
./yubikey.nix ./yubikey.nix
@ -234,6 +235,34 @@ in {
# wifi mac-address-blacklist = ""; # wifi mac-address-blacklist = "";
# wifisec auth-alg = "open"; # wifisec auth-alg = "open";
# services.thymis-controller = {
# enable = true;
# system-binfmt-aarch64-enable = true; # enables emulation of aarch64 binaries, default is true on x86_64, needed for building aarch64 images on x86_64
# system-binfmt-x86_64-enable = false; # enables emulation of x86_64 binaries, default is false
# repo-path = "/var/lib/thymis/repository"; # directory where the controller will store the repository holding the project
# database-url = "sqlite:////var/lib/thymis/thymis.sqlite"; # URL of the database
# base-url = "https://yaseen/"; # base URL of the controller, how it will be accessed from the outside
# auth-basic = true; # whether to enable authentication using a basic username/password
# auth-basic-username = "admin"; # username for basic authentication
# auth-basic-password-file = "/var/lib/thymis/auth-basic-password"; # file containing the password for basic authentication
# # content will be automatically generated if it does not exist
# listen-host = "127.0.0.1"; # host on which the controller listens for incoming connections
# listen-port = 33100; # port on which the controller listens for incoming connections
# nginx-vhost-enable = false; # whether to enable the Nginx virtual host
# nginx-vhost-name = "thymis"; # name of the Nginx virtual host
# };
# # Configure the Nginx virtual host
# services.nginx = {
# enable = true;
# virtualHosts."thymis" = {
# serverName = "yaseen";
# enableACME = true;
# forceSSL = true;
# };
# };
# security.acme.defaults.email = "tasiaiso@proton.me";
security.acme.acceptTerms = true;
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "23.11"; system.stateVersion = "23.11";
} }