forked from mirrors_public/oddlama_nix-config
chore: move xdg portals to home-manager
This commit is contained in:
parent
30a815f53c
commit
4b83c3f9c2
4 changed files with 26 additions and 20 deletions
|
@ -43,24 +43,11 @@ in
|
|||
# Required for gnome3 pinentry
|
||||
services.dbus.packages = [ pkgs.gcr ];
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
xdgOpenUsePortal = true;
|
||||
config.common = {
|
||||
default = [
|
||||
"gtk"
|
||||
"hyprland"
|
||||
];
|
||||
"org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
|
||||
"org.freedesktop.impl.portal.ScreenCast" = [ "hyprland" ];
|
||||
"org.freedesktop.impl.portal.Screenshot" = [ "hyprland" ];
|
||||
"org.freedesktop.portal.FileChooser" = [ "xdg-desktop-portal-gtk" ];
|
||||
};
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
];
|
||||
};
|
||||
# We actually use the home-manager module to add the actual portal config,
|
||||
# but need this so relevant implementations are found
|
||||
environment.pathsToLink = [
|
||||
"/share/xdg-desktop-portal"
|
||||
];
|
||||
|
||||
services.displayManager.enable = true;
|
||||
programs.uwsm = {
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
gamemode = uidGid 972;
|
||||
plausible = uidGid 971;
|
||||
actual = uidGid 970;
|
||||
flatpak = uidGid 969;
|
||||
# flatpak = uidGid 969;
|
||||
unifi = uidGid 968;
|
||||
plugdev.gid = 967;
|
||||
tss = uidGid 966;
|
||||
|
|
|
@ -91,7 +91,6 @@
|
|||
programs.nix-ld.enable = true;
|
||||
topology.self.icon = "devices.desktop";
|
||||
|
||||
services.flatpak.enable = true;
|
||||
hardware.nvidia-container-toolkit.enable = true;
|
||||
virtualisation.containers.enable = true;
|
||||
virtualisation.podman = {
|
||||
|
|
|
@ -93,4 +93,24 @@
|
|||
};
|
||||
|
||||
xdg.mimeApps.enable = true;
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
xdgOpenUsePortal = true;
|
||||
config.common = {
|
||||
default = [
|
||||
"gtk"
|
||||
"hyprland"
|
||||
];
|
||||
"org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
|
||||
"org.freedesktop.impl.portal.ScreenCast" = [ "hyprland" ];
|
||||
"org.freedesktop.impl.portal.Screenshot" = [ "hyprland" ];
|
||||
"org.freedesktop.portal.FileChooser" = [ "xdg-desktop-portal-gtk" ];
|
||||
};
|
||||
extraPortals = [
|
||||
# automatically added by hyprland module
|
||||
#pkgs.xdg-desktop-portal-hyprland
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue