mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-18 18:57:32 -08:00
remove dufs
This commit is contained in:
parent
4365b73384
commit
15848ec7ff
@ -5,7 +5,6 @@
|
||||
./wireguard-server.nix
|
||||
./samba-server.nix
|
||||
./syncthing.nix
|
||||
./share.nix
|
||||
./rss.nix
|
||||
./home-assistant
|
||||
./gitea.nix
|
||||
@ -127,13 +126,6 @@
|
||||
"plot.tstarr.us" = (SSL // {
|
||||
locations."/".proxyPass = "http://localhost:8988/";
|
||||
});
|
||||
"share.tstarr.us" = (SSL // {
|
||||
locations."/".proxyPass = "http://localhost:5001/";
|
||||
extraConfig = ''
|
||||
auth_pam "Password Required";
|
||||
auth_pam_service_name "nginx";
|
||||
'';
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
{ config, lib, pkgs, user, ... }:
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [ 5001 ];
|
||||
networking.firewall.allowedUDPPorts = [ 5001 ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
dufs # Distinctive utility file server
|
||||
];
|
||||
|
||||
systemd.services.share = {
|
||||
description = "Start dufs for quick sharing of files";
|
||||
wantedBy = [ "default.target" ];
|
||||
|
||||
restartIfChanged = true;
|
||||
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
Restart = "always";
|
||||
ExecStart = "${pkgs.dufs}/bin/dufs -p 5001 -A /engi/apps/dufs/share";
|
||||
};
|
||||
};
|
||||
}
|
@ -52,10 +52,10 @@ in {
|
||||
{ "toplevel_name" = "Bookmarks"; }
|
||||
{ "name" = "Daily"; "children" = [
|
||||
{ "url" = "https://rss.tstarr.us"; name = "Miniflux"; }
|
||||
{ "url" = "https://cloud.tstarr.us"; name = "Nextcloud"; }
|
||||
{ "url" = "https://git.tstarr.us"; name = "Gitea"; }
|
||||
{ "url" = "https://media.tstarr.us/web/index.html#!/home.html"; name = "Jellyfin"; }
|
||||
{ "url" = "https://home.tstarr.us"; name = "Home Assistant"; }
|
||||
{ "url" = "https://share.tstarr.us"; name = "Share (dufs)"; }
|
||||
{ "url" = "https://www.youtube.com/feed/subscriptions"; name = "Youtube"; }
|
||||
{ "url" = "https://gmail.com/"; name = "Mail"; }
|
||||
{ "url" = "https://github.com/"; name = "GitHub"; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user