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 ];
|
imports = [ ./programs ./services ./wm ./gtk.nix ./persistence.nix ];
|
||||||
|
|
||||||
home.stateVersion = "23.11";
|
home.stateVersion = "23.11";
|
||||||
|
@ -17,6 +17,16 @@ _: {
|
||||||
"x-scheme-handler/tg" = [ "org.telegram.desktop.desktop" ];
|
"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;
|
userDirs.enable = true;
|
||||||
|
|
||||||
desktopEntries."nixos-manual" = {
|
desktopEntries."nixos-manual" = {
|
||||||
|
|
|
@ -62,15 +62,8 @@
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-hyprland ];
|
config.common.default = [ "gtk" ];
|
||||||
config = {
|
xdgOpenUsePortal =true;
|
||||||
common = {
|
|
||||||
default = [ "gtk" ];
|
|
||||||
};
|
|
||||||
hyprland = {
|
|
||||||
default = [ "hyprland" "gtk" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
|
|
Loading…
Reference in a new issue