xdg portal crap which doesn't even work

This commit is contained in:
krizej 2024-07-12 15:42:35 +02:00
parent ba32da43cc
commit cb8832c79a
3 changed files with 10 additions and 11 deletions

View file

@ -47,11 +47,6 @@
home.sessionVariables = {
GTK_USE_PORTAL = "1";
};
home.packages = with pkgs; [
xdg-desktop-portal
xdg-desktop-portal-gtk
];
};
}

View file

@ -5,8 +5,7 @@ in {
home-manager.users.krizej = {
home.packages = with pkgs; [
xdg-user-dirs
xdg-desktop-portal
xdg-desktop-portal-gnome
xdg-utils
];
home.sessionVariables = rec {
@ -43,10 +42,15 @@ in {
videos = "${HOME}/videos";
};
# fix this scheisse
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-kde ];
config.common.default = [ "*" ];
};
home.file = {
".config/python/pythonrc".text = ''
def is_vanilla() -> bool:
import sys
return not hasattr(__builtins__, '__IPYTHON__') and 'bpython' not in sys.argv[0]

View file

@ -35,7 +35,7 @@
pkg-config
python39
];
# maybe i can just put it into the packages but idk whatever
home-manager.users.krizej.programs = {
home-manager.enable = true;
@ -69,7 +69,7 @@
gimp
sqlitebrowser
feh
vlc
vlc
gdb
ccls