Skip to content

Commit

Permalink
add xdg-portal support to fix Vita3K;update flake
Browse files Browse the repository at this point in the history
  • Loading branch information
non-existent committed Feb 22, 2023
1 parent 297fffa commit d499607
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
6 changes: 3 additions & 3 deletions flake.lock

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

2 changes: 1 addition & 1 deletion home/yly/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ inputs, system, config, pkgs, lib, ... }:
let
nurpkgs = (with inputs.ylynur.packages.${system}; [ test-app ]);
packages = import ./packages.nix {inherit pkgs; nur = inputs.ylynur.packages.${system}; };
packages = import ./packages.nix { inherit pkgs; nur = inputs.ylynur.packages.${system}; };
in
{
services.trayer.enable = true;
Expand Down
4 changes: 2 additions & 2 deletions home/yly/packages.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# this file contains packages that don't hava programs.* options for configuration
{ pkgs , nur }:
{ pkgs, nur }:
let
cli-utils = with pkgs; [
# unix tools
Expand Down Expand Up @@ -63,4 +63,4 @@ let
];
games = with pkgs; [ yuzu ppsspp nur.vita3k ];
in
cli-utils ++ development-tools ++ games ++ unfree-pro-softwares ++ graphical
cli-utils ++ development-tools ++ games ++ unfree-pro-softwares ++ graphical
10 changes: 10 additions & 0 deletions system/desktop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@
};
displayManager.defaultSession = "xfce+xmonad";
};
xdg = {
portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
];
gtkUsePortal = true;
};
};
services.picom.enable = true;
services.picom.vSync = true;
}

0 comments on commit d499607

Please sign in to comment.