mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
Enables jellyfin and transmission services
This commit is contained in:
parent
37d86b875c
commit
ef2a73f331
1 changed files with 32 additions and 0 deletions
|
@ -21,7 +21,12 @@
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
boot.supportedFilesystems = ["zfs"];
|
||||
boot.zfs.forceImportRoot = false;
|
||||
networking.hostId = "06818aaa";
|
||||
|
||||
hardware.opengl.driSupport = true;
|
||||
hardware.opengl.enable = true;
|
||||
|
||||
hardware.opengl.extraPackages = with pkgs; [
|
||||
amdvlk
|
||||
|
@ -37,6 +42,33 @@
|
|||
fsType = "vfat";
|
||||
};
|
||||
|
||||
fileSystems."/zpool" = {
|
||||
device = "zpool";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
environment.systemPackages = [pkgs.zfs];
|
||||
|
||||
services.jellyfin.enable = true;
|
||||
services.jellyfin.openFirewall = true;
|
||||
|
||||
services.transmission = {
|
||||
enable = true;
|
||||
|
||||
settings = rec {
|
||||
download-dir = "/zpool/torrents/complete";
|
||||
incomplete-dir = "/zpool/torrents/incomplete";
|
||||
incomplete-dir-enabled = true;
|
||||
rpc-enabled = true;
|
||||
rpc-bind-address = "0.0.0.0";
|
||||
rpc-whitelist-enabled = false;
|
||||
rpc-host-whitelist-enabled = false;
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [9091];
|
||||
networking.firewall.allowedUDPPorts = [9091];
|
||||
|
||||
swapDevices = [];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
|
Loading…
Add table
Reference in a new issue