materusPC: xdg changes

This commit is contained in:
Mateusz Słodkowicz 2024-03-29 15:01:25 +01:00
parent 20683564ce
commit 170cc0fc10
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
2 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,10 @@
home.homeDirectory = "/home/materus";
programs.git.signing.signByDefault = true;
xdg.portal.enable = true;
xdg.userDirs.enable = true;
xdg.portal.enable = true;
xdg.portal.xdgOpenUsePortal = true;
xdg.portal.extraPortals = [ pkgs.kdePackages.xdg-desktop-portal-kde ];
xdg.portal.configPackages = [ pkgs.kdePackages.xdg-desktop-portal-kde ];
materus.profile = {

View File

@ -12,8 +12,6 @@
in
lib.mkIf cfg.enable {
xdg.enable = true;
xdg.portal.enable = lib.mkDefault false;
xdg.portal.xdgOpenUsePortal = lib.mkDefault config.xdg.portal.enable;
xdg.userDirs.enable = lib.mkDefault true;
xdg.userDirs.createDirectories = lib.mkDefault config.xdg.userDirs.enable;