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