push
This commit is contained in:
@@ -37,6 +37,7 @@
|
|||||||
"hytale" = mkFolder "/home/bug/.local/share/Hytale/UserData/Saves";
|
"hytale" = mkFolder "/home/bug/.local/share/Hytale/UserData/Saves";
|
||||||
"ssh" = mkFolder "/home/bug/.ssh";
|
"ssh" = mkFolder "/home/bug/.ssh";
|
||||||
"cloudflared" = mkFolder "/home/bug/.cloudflared";
|
"cloudflared" = mkFolder "/home/bug/.cloudflared";
|
||||||
|
"copyparty" = mkFolder "/home/bug/copyparty";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
accounts = {
|
accounts = {
|
||||||
bug = {
|
bug = {
|
||||||
passwordFile = "/home/bug/mailserver/bug.passwd";
|
passwordFile = "/home/bug/copyparty/bug.passwd";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -32,11 +32,11 @@
|
|||||||
|
|
||||||
volumes = {
|
volumes = {
|
||||||
"/" = {
|
"/" = {
|
||||||
path = "/home/copyparty";
|
path = "/home/bug/copyparty/public/";
|
||||||
|
|
||||||
access = {
|
access = {
|
||||||
r = "*";
|
r = "*";
|
||||||
rw = [ "bug" ];
|
rwda = [ "bug" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
flags = {
|
flags = {
|
||||||
@@ -45,12 +45,33 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"/nix" = {
|
||||||
|
path = "/home/bug/nix/";
|
||||||
|
|
||||||
|
access = {
|
||||||
|
r = "*";
|
||||||
|
};
|
||||||
|
|
||||||
|
flags = {
|
||||||
|
fk = 4;
|
||||||
|
scan = 60;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
"/box" = {
|
||||||
|
path = "/";
|
||||||
|
|
||||||
|
access = {
|
||||||
|
rwda = [ "bug" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
"/Music" = {
|
"/Music" = {
|
||||||
path = "/home/bug/Music/";
|
path = "/home/bug/Music/";
|
||||||
|
|
||||||
access = {
|
access = {
|
||||||
r = "*";
|
r = "*";
|
||||||
rw = [ "bug" ];
|
rwda = [ "bug" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
flags = {
|
flags = {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ den, ... }: {
|
{
|
||||||
den.aspects.gitea = {
|
den.aspects.gitea = {
|
||||||
# includes = [ den.aspects.gitea-mirrors ];
|
# includes = [ den.aspects.gitea-mirrors ];
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ den, lib, ... }: {
|
{ lib, ... }: {
|
||||||
den.aspects.invidious = {
|
den.aspects.invidious = {
|
||||||
nixos = { pkgs, config, ... }: let
|
nixos = { pkgs, config, ... }: let
|
||||||
companionPort = 8282;
|
companionPort = 8282;
|
||||||
@@ -12,48 +12,48 @@
|
|||||||
virtualisation.oci-containers.backend = lib.mkDefault "podman";
|
virtualisation.oci-containers.backend = lib.mkDefault "podman";
|
||||||
|
|
||||||
virtualisation.oci-containers.containers.invidious-companion = {
|
virtualisation.oci-containers.containers.invidious-companion = {
|
||||||
image = "quay.io/invidious/invidious-companion:latest";
|
image = "quay.io/invidious/invidious-companion:latest";
|
||||||
extraOptions = [ "--network=host" "--pull=always" ];
|
extraOptions = [ "--network=host" "--pull=always" ];
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
SERVER_SECRET_KEY = companionKey;
|
SERVER_SECRET_KEY = companionKey;
|
||||||
HOST = "127.0.0.1";
|
HOST = "127.0.0.1";
|
||||||
PORT = toString companionPort;
|
PORT = toString companionPort;
|
||||||
SERVER_BASE_URL = "http://127.0.0.1:${toString companionPort}";
|
SERVER_BASE_URL = "http://127.0.0.1:${toString companionPort}";
|
||||||
|
|
||||||
# HTTP_PROXY = "http://proxy.example:3128";
|
# HTTP_PROXY = "http://proxy.example:3128";
|
||||||
# HTTPS_PROXY = "http://proxy.example:3128";
|
# HTTPS_PROXY = "http://proxy.example:3128";
|
||||||
# NO_PROXY = "127.0.0.1,localhost";
|
# NO_PROXY = "127.0.0.1,localhost";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.invidious = {
|
services.invidious = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.invidious;
|
package = pkgs.invidious;
|
||||||
|
|
||||||
address = "127.0.0.1";
|
address = "127.0.0.1";
|
||||||
port = port;
|
port = port;
|
||||||
|
|
||||||
nginx.enable = false;
|
nginx.enable = false;
|
||||||
sig-helper.enable = false;
|
sig-helper.enable = false;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
domain = "tube.bug.tools";
|
domain = "tube.bug.tools";
|
||||||
https_only = false;
|
https_only = false;
|
||||||
external_port = port;
|
external_port = port;
|
||||||
|
|
||||||
invidious_companion = [
|
invidious_companion = [
|
||||||
{ private_url = "http://127.0.0.1:${toString companionPort}${companionPath}"; }
|
{ private_url = "http://127.0.0.1:${toString companionPort}${companionPath}"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
invidious_companion_key = companionKey;
|
invidious_companion_key = companionKey;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.invidious = let dep = "podman-invidious-companion.service"; in {
|
systemd.services.invidious = let dep = "podman-invidious-companion.service"; in {
|
||||||
wants = [ dep ];
|
wants = [ dep ];
|
||||||
after = [ dep ];
|
after = [ dep ];
|
||||||
requires = [ dep ];
|
requires = [ dep ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -44,8 +44,7 @@
|
|||||||
"fc2@bug.tools"
|
"fc2@bug.tools"
|
||||||
"counter@bug.tools"
|
"counter@bug.tools"
|
||||||
"claude@bug.tools"
|
"claude@bug.tools"
|
||||||
"bitcraft@bug.tools"
|
"rumble@bug.tools"
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
nixos = {
|
nixos = {
|
||||||
environment.systemPackages = let
|
environment.systemPackages = let
|
||||||
nix-alien = import (
|
nix-alien = import (
|
||||||
builtins.fetchTarball "https://github.com/thiagokokada/nix-alien/tarball/master"
|
fetchTarball "https://github.com/thiagokokada/nix-alien/tarball/master"
|
||||||
) { };
|
){};
|
||||||
in [
|
in [
|
||||||
nix-alien.nix-alien
|
nix-alien.nix-alien
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user