fix xdg
This commit is contained in:
parent
467875c81a
commit
fb8fa67657
2 changed files with 24 additions and 7 deletions
|
@ -411,6 +411,29 @@
|
|||
};
|
||||
};
|
||||
|
||||
xdg = {
|
||||
enable = true;
|
||||
mime.enable = true;
|
||||
portal = {
|
||||
enable = true;
|
||||
xdgOpenUsePortal = true;
|
||||
config = {
|
||||
common = {
|
||||
default = [
|
||||
"gtk"
|
||||
];
|
||||
};
|
||||
};
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-gtk
|
||||
];
|
||||
};
|
||||
userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
};
|
||||
};
|
||||
|
||||
catppuccin = {
|
||||
gtk = {
|
||||
enable = true;
|
||||
|
|
|
@ -14,13 +14,6 @@
|
|||
thunar-media-tags-plugin
|
||||
];
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-gtk
|
||||
];
|
||||
};
|
||||
|
||||
security.pam.services.hyprlock = {};
|
||||
|
||||
fonts.fontconfig = {
|
||||
|
@ -35,6 +28,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
environment.pathsToLink = ["/share/xdg-desktop-portal" "/share/applications"];
|
||||
environment.systemPackages = with pkgs; [hyprpolkitagent];
|
||||
|
||||
systemd = {
|
||||
|
|
Loading…
Reference in a new issue