feat(configurations)!: flatten down, introduce meta.nix
Flatten down directory structure: - From: `./hosts/${configuration-type}/${system}/{configuration,deploy}.nix` - To: `./hosts/${configuration-type}/{meta,configuration}.nix` Keep `system` and `deploy-rs` config in `meta.nix` Update `flake.lock`
This commit is contained in:
parent
29738555b1
commit
9b8f894a1a
43 changed files with 459 additions and 344 deletions
49
hosts/nixos/jeeves/jellyfin.nix
Normal file
49
hosts/nixos/jeeves/jellyfin.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{ lib, pkgs, config, ... }:
|
||||
{
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
extraPackages = with pkgs; [
|
||||
vaapiVdpau
|
||||
libva1
|
||||
vulkan-loader
|
||||
vulkan-validation-layers
|
||||
vulkan-extension-layer
|
||||
];
|
||||
};
|
||||
|
||||
services = {
|
||||
nginx = {
|
||||
virtualHosts."jellyfin.jeeves.local" = {
|
||||
enableACME = false;
|
||||
forceSSL = false;
|
||||
locations."/".proxyPass = "http://127.0.0.1:8096";
|
||||
};
|
||||
};
|
||||
|
||||
jellyfin = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
# sonarr = {
|
||||
# enable = true;
|
||||
# openFirewall = true;
|
||||
# };
|
||||
# radarr = {
|
||||
# enable = true;
|
||||
# openFirewall = true;
|
||||
# };
|
||||
# bazarr = {
|
||||
# enable = true;
|
||||
# openFirewall = true;
|
||||
# };
|
||||
# readarr = {
|
||||
# enable = true;
|
||||
# openFirewall = true;
|
||||
# };
|
||||
# prowlarr = {
|
||||
# enable = true;
|
||||
# openFirewall = true;
|
||||
# };
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue