mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-21 03:46:06 -07:00
Compare commits
No commits in common. "531c7b3fc81728c2cadb5559f3af5c943475bbf6" and "c6f6a788771542ed60fdb8dcd3b931e9bec79cb3" have entirely different histories.
531c7b3fc8
...
c6f6a78877
@ -5,6 +5,7 @@
|
|||||||
./wireguard-server.nix
|
./wireguard-server.nix
|
||||||
./samba-server.nix
|
./samba-server.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
|
./obsidian-vault.nix
|
||||||
./share.nix
|
./share.nix
|
||||||
./rss.nix
|
./rss.nix
|
||||||
./home-assistant
|
./home-assistant
|
||||||
@ -125,6 +126,13 @@
|
|||||||
"git.tstarr.us" = (SSL // {
|
"git.tstarr.us" = (SSL // {
|
||||||
locations."/".proxyPass = "http://localhost:3001/";
|
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 // {
|
"share.tstarr.us" = (SSL // {
|
||||||
locations."/".proxyPass = "http://localhost:5001/";
|
locations."/".proxyPass = "http://localhost:5001/";
|
||||||
extraConfig = ''
|
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" = [
|
{ "name" = "Homelab"; "children" = [
|
||||||
{ "url" = "http://localhost:8384"; name = "Syncthing"; }
|
{ "url" = "http://localhost:8384"; name = "Syncthing"; }
|
||||||
{ "url" = "https://github.com/starr-dusT/dotfiles"; name = "Dotfiles"; }
|
{ "url" = "https://github.com/starr-dusT/dotfiles"; name = "Dotfiles"; }
|
||||||
|
{ "url" = "https://vault.tstarr.us"; name = "Vault (dufs)"; }
|
||||||
{ "url" = "https://rssbridge.tstarr.us"; name = "RSSBridge"; }
|
{ "url" = "https://rssbridge.tstarr.us"; name = "RSSBridge"; }
|
||||||
]; }
|
]; }
|
||||||
{ "name" = "Nix"; "children" = [
|
{ "name" = "Nix"; "children" = [
|
||||||
|
@ -17,8 +17,8 @@ in {
|
|||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
(python3.withPackages my-python-packages)
|
(python3.withPackages my-python-packages)
|
||||||
fava
|
|
||||||
beancount
|
beancount
|
||||||
|
fava
|
||||||
nodePackages_latest.pyright
|
nodePackages_latest.pyright
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user