challenger: start migrating from voyager. Add nginx. Add jellyfin.
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user