jellyfin instead of plex

This commit is contained in:
Haak Saxberg 2022-08-09 23:56:09 -07:00
parent 1dc870e664
commit 431db062bc
3 changed files with 73 additions and 15 deletions

View file

@ -47,19 +47,26 @@ in
};
};
nas = {
deployment.targetHost = nasIp;
imports = [ ../system/svalbard/configuration.nix ];
networking.wireless.networks.N904.pskRaw = (
(import ../system/framework/keys.nix).wifi.N904.pskRaw
);
nas =
{ pkgs, ... }:
{
deployment.targetHost = nasIp;
imports = [ ../system/svalbard/configuration.nix ];
networking.wireless.networks.N904.pskRaw = (
(import ../system/framework/keys.nix).wifi.N904.pskRaw
);
services.nfs.server.enable = true;
services.nfs.server.exports = ''
/export 192.168.1.0/24(insecure,crossmnt,fsid=0)
/export/storage 192.168.1.0/24(insecure)
'';
services.nfs.server.enable = true;
services.nfs.server.exports = ''
/export 192.168.1.0/24(insecure,crossmnt,fsid=0)
/export/storage 192.168.1.0/24(insecure)
'';
networking.firewall.allowedTCPPorts = [ 2049 ];
};
networking.firewall.allowedTCPPorts = [ 2049 ];
environment.systemPackages = with pkgs; [
flood
rtorrent
];
};
}