Some checks failed
CI / check (push) Failing after 12m14s
Add a new system-level role for mounting WebDAV filesystems via rclone. Includes rclone-torbox-setup helper script that uses rbw to bootstrap credentials from Bitwarden. Key features: - Configurable WebDAV URL, username, mount point - VFS cache mode and buffer size tuning for media streaming - RequiresMountsFor option for ZFS pool dependencies - Obscured password storage via environment file Enable on john-endesktop for TorBox WebDAV access by rdt-client and Jellyfin. Mount waits for /media ZFS pool before starting. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
58 lines
1.3 KiB
Nix
58 lines
1.3 KiB
Nix
{ lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
imports = [
|
|
./common.nix
|
|
./audio
|
|
./bluetooth
|
|
./btrfs
|
|
./desktop
|
|
./k3s-node
|
|
./kodi
|
|
./nfs-mounts
|
|
./nvidia
|
|
./printing
|
|
./rclone-mount
|
|
./remote-build
|
|
./spotifyd
|
|
./users
|
|
./virtualisation
|
|
];
|
|
|
|
config = {
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
i18n.extraLocaleSettings = {
|
|
LC_ADDRESS = "en_US.UTF-8";
|
|
LC_IDENTIFICATION = "en_US.UTF-8";
|
|
LC_MEASUREMENT = "en_US.UTF-8";
|
|
LC_MONETARY = "en_US.UTF-8";
|
|
LC_NAME = "en_US.UTF-8";
|
|
LC_NUMERIC = "en_US.UTF-8";
|
|
LC_PAPER = "en_US.UTF-8";
|
|
LC_TELEPHONE = "en_US.UTF-8";
|
|
LC_TIME = "en_US.UTF-8";
|
|
};
|
|
|
|
services.xserver.xkb = {
|
|
layout = "us";
|
|
variant = "";
|
|
options = "caps:escape";
|
|
};
|
|
|
|
# Don't go to emergency mode if we aren't able to mount filesystems.
|
|
# This is silly if you have multiple hard drives or partitions
|
|
# configured on a machine and then one goes away intentionally or
|
|
# unintentionally. If the system is already booting, let it continue
|
|
# to try and boot.
|
|
systemd.enableEmergencyMode = false;
|
|
|
|
# Enable the OpenSSH daemon.
|
|
services.openssh.enable = true;
|
|
|
|
# NixOS-specific gc option (not available on Darwin)
|
|
nix.gc.randomizedDelaySec = "14m";
|
|
};
|
|
}
|