xdg portal crap which doesn't even work
This commit is contained in:
parent
ba32da43cc
commit
cb8832c79a
3 changed files with 10 additions and 11 deletions
|
@ -47,11 +47,6 @@
|
|||
home.sessionVariables = {
|
||||
GTK_USE_PORTAL = "1";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
xdg-desktop-portal
|
||||
xdg-desktop-portal-gtk
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
12
misc/xdg.nix
12
misc/xdg.nix
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue