diff --git a/hosts/semita/default.nix b/hosts/semita/default.nix index 0e9656f..c51ffca 100644 --- a/hosts/semita/default.nix +++ b/hosts/semita/default.nix @@ -54,10 +54,11 @@ in { ../common/optional/docker ../common/optional/nixos-containers/nix-bitcoin.nix ../common/optional/nixos-containers/postgres.nix - ../common/optional/nixos-containers/jellyfin.nix ../common/optional/nixos-containers/baseddata-worker.nix - ../common/optional/nixos-containers/mongodb.nix ../common/optional/nix-ld.nix + ../common/optional/gaming.nix + + ../common/optional/docker/jellyfin.nix ]; fileSystems."/media/main-ssd" = { @@ -94,16 +95,16 @@ in { pkgs.sof-firmware ]; - # Add hardware support for intel gpus as specified here: https://nixos.wiki/wiki/Jellyfin - nixpkgs.config.packageOverrides = pkgs: { - vaapiIntel = pkgs.vaapiIntel.override {enableHybridCodec = true;}; - }; - swapDevices = [ { device = "/.swapvol/swapfile"; size = 32*1024; } ]; + # Add hardware support for intel gpus as specified here: https://nixos.wiki/wiki/Jellyfin + nixpkgs.config.packageOverrides = pkgs: { + vaapiIntel = pkgs.vaapiIntel.override {enableHybridCodec = true;}; + }; + hardware.opengl = { enable = true; extraPackages = with pkgs; [