mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-20 19:36:05 -07:00
Compare commits
No commits in common. "531c7b3fc81728c2cadb5559f3af5c943475bbf6" and "c6f6a788771542ed60fdb8dcd3b931e9bec79cb3" have entirely different histories.
531c7b3fc8
...
c6f6a78877
@ -5,6 +5,7 @@
|
||||
./wireguard-server.nix
|
||||
./samba-server.nix
|
||||
./syncthing.nix
|
||||
./obsidian-vault.nix
|
||||
./share.nix
|
||||
./rss.nix
|
||||
./home-assistant
|
||||
@ -125,6 +126,13 @@
|
||||
"git.tstarr.us" = (SSL // {
|
||||
locations."/".proxyPass = "http://localhost:3001/";
|
||||
});
|
||||
"vault.tstarr.us" = (SSL // {
|
||||
locations."/".proxyPass = "http://localhost:5000/";
|
||||
extraConfig = ''
|
||||
auth_pam "Password Required";
|
||||
auth_pam_service_name "nginx";
|
||||
'';
|
||||
});
|
||||
"share.tstarr.us" = (SSL // {
|
||||
locations."/".proxyPass = "http://localhost:5001/";
|
||||
extraConfig = ''
|
||||
|
20
provision/hosts/torus/obsidian-vault.nix
Normal file
20
provision/hosts/torus/obsidian-vault.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ config, lib, pkgs, user, ... }:
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [ 5000 ];
|
||||
networking.firewall.allowedUDPPorts = [ 5000 ];
|
||||
|
||||
environment.systemPackages = with pkgs; [ dufs ];
|
||||
|
||||
systemd.services.obsidian-vault = {
|
||||
description = "Start dufs containing obsidian vault (vulcan)";
|
||||
wantedBy = [ "default.target" ];
|
||||
|
||||
restartIfChanged = true;
|
||||
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
Restart = "always";
|
||||
ExecStart = "${pkgs.dufs}/bin/dufs -p 5000 -A /engi/apps/dufs/vault";
|
||||
};
|
||||
};
|
||||
}
|
@ -70,6 +70,7 @@ in {
|
||||
{ "name" = "Homelab"; "children" = [
|
||||
{ "url" = "http://localhost:8384"; name = "Syncthing"; }
|
||||
{ "url" = "https://github.com/starr-dusT/dotfiles"; name = "Dotfiles"; }
|
||||
{ "url" = "https://vault.tstarr.us"; name = "Vault (dufs)"; }
|
||||
{ "url" = "https://rssbridge.tstarr.us"; name = "RSSBridge"; }
|
||||
]; }
|
||||
{ "name" = "Nix"; "children" = [
|
||||
|
@ -17,8 +17,8 @@ in {
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
(python3.withPackages my-python-packages)
|
||||
fava
|
||||
beancount
|
||||
fava
|
||||
nodePackages_latest.pyright
|
||||
];
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user