challenger: start migrating from voyager. Add nginx. Add jellyfin.
This commit is contained in:
parent
5203e82efa
commit
ed08b6a0e4
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
|
@ -8,6 +8,9 @@
|
|||
./hardware-configuration.nix
|
||||
./exports.nix
|
||||
./filesystems.nix
|
||||
|
||||
./services/nginx.nix
|
||||
./services/jellyfin.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
|
@ -32,6 +35,14 @@
|
|||
virtualisation.docker.enable = true;
|
||||
virtualisation.oci-containers.backend = "docker";
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"nvidia-x11"
|
||||
"nvidia-settings"
|
||||
];
|
||||
hardware.nvidia.modesetting.enable = true;
|
||||
hardware.opengl.enable = true;
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,10 @@
|
|||
|
||||
# Local zfs
|
||||
boot = {
|
||||
# zfs.extraPools = [ "tank" ];
|
||||
zfs = {
|
||||
extraPools = [ "tank" ];
|
||||
requestEncryptionCredentials = false;
|
||||
};
|
||||
supportedFilesystems = [ "zfs" ];
|
||||
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||
};
|
||||
|
|
|
@ -38,12 +38,7 @@
|
|||
};
|
||||
|
||||
fileSystems."/tank/media/jellyfin/Music" = {
|
||||
depends = [
|
||||
"/tank/media/music"
|
||||
"/tank/media/jellyfin"
|
||||
];
|
||||
options = [ "bind" ];
|
||||
device = "/tank/media/music";
|
||||
device = "tank/media/music";
|
||||
fsType = "zfs";
|
||||
};
|
||||
}
|
||||
|
|
@ -19,4 +19,3 @@
|
|||
/* email = "felix@albrigtsen.it"; */
|
||||
/* }; */
|
||||
}
|
||||
|
|
@ -12,10 +12,8 @@
|
|||
|
||||
./services/calibre.nix
|
||||
./services/fancontrol.nix
|
||||
./services/jellyfin.nix
|
||||
./services/komga.nix
|
||||
./services/nextcloud.nix
|
||||
./services/nginx
|
||||
./services/podgrab.nix
|
||||
./services/postgres.nix
|
||||
./services/snappymail.nix
|
||||
|
|
Loading…
Reference in New Issue