some stuff

This commit is contained in:
xunuwu 2024-06-07 18:30:15 +02:00
parent d2fd9fda8a
commit 368fc628c2
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
26 changed files with 458 additions and 97 deletions

View file

@ -11,6 +11,7 @@ let
./network/networkd.nix
./network/avahi.nix
./network/localsend.nix
./network/tailscale.nix
./desktop

View file

@ -0,0 +1,8 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
localsend
];
networking.firewall.allowedTCPPorts = [53317];
networking.firewall.allowedUDPPorts = [53317];
}

View file

@ -6,6 +6,7 @@
}: {
environment.systemPackages = [
pkgs.protontricks
pkgs.steamtinkerlaunch
];
programs.steam = {

View file

@ -1,10 +1,4 @@
{
config,
pkgs,
lib,
inputs,
...
}: {
{config, ...}: {
imports = [
#./smbshare.nix
];
@ -104,7 +98,7 @@
];
};
jellyfin = {
image = "jellyfin/jellyfin";
image = "jellyfin/jellyfin:2024052005";
volumes = [
"/media/config/jellyfin/config:/config"
"/media/config/jellyfin/cache:/cache"
@ -313,6 +307,8 @@
lyrics,
spotify,
scrub,
duplicates,
unimported,
]
genres: yes
@ -320,9 +316,6 @@
spotify:
source_weight: 0.7
advancesrewrite:
artist GHOST: Ghost and Pals
embedart:
auto: yes
ifempty: no

View file

@ -15,7 +15,7 @@
autoAcceptFolders = true;
};
"redmi-note-10-pro" = {
id = "MRAHIKH-TNHAKEG-OHMEFXI-BO54SXR-6IL2Y3B-3HVOWZF-ZGTS2OX-YSWTPQF";
id = "WJPE56U-56LPOYB-IAENGSW-IFQ4A6J-66JX73I-ONXX4PY-QXJK6IF-UZHVWA7";
autoAcceptFolders = true;
};
"hopper" = {
@ -26,11 +26,19 @@
folders = {
"~/secrets" = {
devices = builtins.attrNames config.services.syncthing.settings.devices;
versioning = {
type = "trashcan";
params.cleanoutDays = "180";
};
id = "sfw9y-yusup";
};
"~/docs/xun-megavault" = {
devices = builtins.attrNames config.services.syncthing.settings.devices;
id = "1zkf-wf5r";
versioning = {
type = "simple";
params.keep = "15";
};
};
};
};