mess around with portals
This commit is contained in:
parent
eb78a4fb0a
commit
365d0b6012
2 changed files with 13 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
_: {
|
||||
{ pkgs, ... }: {
|
||||
imports = [ ./programs ./services ./wm ./gtk.nix ./persistence.nix ];
|
||||
|
||||
home.stateVersion = "23.11";
|
||||
|
@ -17,6 +17,16 @@ _: {
|
|||
"x-scheme-handler/tg" = [ "org.telegram.desktop.desktop" ];
|
||||
};
|
||||
};
|
||||
portal = {
|
||||
xdgOpenUsePortal = true;
|
||||
extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-hyprland ];
|
||||
config = {
|
||||
common = {
|
||||
default = [ "gtk" ];
|
||||
};
|
||||
};
|
||||
configPackages = with pkgs; [ hyprland ];
|
||||
};
|
||||
userDirs.enable = true;
|
||||
|
||||
desktopEntries."nixos-manual" = {
|
||||
|
|
|
@ -62,15 +62,8 @@
|
|||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-hyprland ];
|
||||
config = {
|
||||
common = {
|
||||
default = [ "gtk" ];
|
||||
};
|
||||
hyprland = {
|
||||
default = [ "hyprland" "gtk" ];
|
||||
};
|
||||
};
|
||||
config.common.default = [ "gtk" ];
|
||||
xdgOpenUsePortal =true;
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
|
|
Loading…
Reference in a new issue