diff --git a/hosts/semita/default.nix b/hosts/semita/default.nix index 2565bc2..321fea6 100644 --- a/hosts/semita/default.nix +++ b/hosts/semita/default.nix @@ -47,8 +47,8 @@ in { ../common/optional/nfs-mounts/homeshare.nix ../common/optional/printing.nix ../common/optional/docker - ../common/optional/docker/postgres.nix - ../common/optional/nix-bitcoin.nix + ../common/optional/nixos-containers/nix-bitcoin.nix + ../common/optional/nixos-containers/postgres.nix ]; fileSystems."/media/main-ssd" = { @@ -85,6 +85,23 @@ in { pkgs.sof-firmware ]; + nixpkgs.config.packageOverrides = pkgs: { + vaapiIntel = pkgs.vaapiIntel.override {enableHybridCodec = true;}; + }; + + hardware.opengl = { + enable = true; + extraPackages = with pkgs; [ + intel-media-driver + intel-vaapi-driver + vaapiVdpau + libvdpau-va-gl + intel-compute-runtime + vpl-gpu-rt + intel-media-sdk + ]; + }; + networking = { hostName = "semita"; nameservers = ["10.0.10.60" "10.0.10.1" "8.8.8.8"]; @@ -103,19 +120,6 @@ in { } ]; }; - # interfaces.br0 = { - # useDHCP = false; - # ipv4.addresses = [ - # { - # address = "10.0.10.3"; - # prefixLength = 24; - # } - # ]; - # }; - # defaultGateway = { - # address = "10.0.10.1"; - # interface = "eth0"; - # }; }; services.libinput.enable = true;