From 343d6f21e33e8c8ab8d3ccd6ecdfffaaca2871f3 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 26 Nov 2024 20:01:55 +0000 Subject: [PATCH] modify semita imports --- hosts/semita/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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; [