Skip to content

Commit

Permalink
vaapi and flatpak support
Browse files Browse the repository at this point in the history
Signed-off-by: Shinyzenith <aakashsensharma@gmail.com>
  • Loading branch information
Shinyzenith committed Jul 5, 2023
1 parent b88c7eb commit 2c65848
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion home/programs/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
XDG_STATE_HOME = "$HOME/.local/state/";
XDG_SESSION_TYPE = "wayland";
XDG_CURRENT_DESKTOP = "sway";
XDG_DATA_DIRS="$XDG_DATA_DIRS:/usr/share:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share"; # Flatpak stuff
XDG_DATA_DIRS =
"$XDG_DATA_DIRS:/usr/share:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share"; # Flatpak stuff

CARGO_HOME = "${config.xdg.dataHome}/cargo";
GNUPGHOME = "${config.xdg.dataHome}/gnupg";
Expand Down
8 changes: 7 additions & 1 deletion host/services.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
enable = true;
driSupport32Bit = true;
driSupport = true;
extraPackages = with pkgs; [
intel-media-driver
vaapiIntel
vaapiVdpau
libvdpau-va-gl
];
};
enableRedistributableFirmware = true;
uinput.enable = true;
Expand All @@ -22,7 +28,7 @@
};

services = {
flatpak.enable = true;
flatpak.enable = true;
gvfs.enable = true;
udisks2.enable = true;
dbus.enable = true;
Expand Down

0 comments on commit 2c65848

Please sign in to comment.