fixed polkit
This commit is contained in:
parent
465875dfaa
commit
75da958c43
1 changed files with 11 additions and 12 deletions
|
|
@ -1,10 +1,4 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
{pkgs, ...}: {
|
||||
services.xserver.enable = false;
|
||||
|
||||
programs.hyprland = {
|
||||
|
|
@ -14,15 +8,15 @@
|
|||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||
extraPortals = [pkgs.xdg-desktop-portal-gtk];
|
||||
config = {
|
||||
common = {
|
||||
default = [ "gtk" ];
|
||||
default = ["gtk"];
|
||||
};
|
||||
hyprland = {
|
||||
default = [ "gtk" ];
|
||||
"org.freedesktop.impl.portal.ScreenCast" = [ "hyprland" ];
|
||||
"org.freedesktop.impl.portal.Screenshot" = [ "hyprland" ];
|
||||
default = ["gtk"];
|
||||
"org.freedesktop.impl.portal.ScreenCast" = ["hyprland"];
|
||||
"org.freedesktop.impl.portal.Screenshot" = ["hyprland"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -31,6 +25,11 @@
|
|||
|
||||
services.accounts-daemon.enable = true;
|
||||
|
||||
systemd.user.services.hyprpolkitagent = {
|
||||
enable = true;
|
||||
wantedBy = ["graphical-session.target"];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
qt5.qtwayland
|
||||
qt6.qtwayland
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue