Configure hyprlock, work on waybar
This commit is contained in:
@ -105,6 +105,7 @@
|
||||
# Enable the XFCE Desktop Environment.
|
||||
services.xserver.displayManager.gdm.enable = true;
|
||||
security.pam.services.gdm.enableGnomeKeyring = true;
|
||||
|
||||
# services.displayManager.sddm.wayland.enable = true;
|
||||
# services.xserver.desktopManager = {
|
||||
# xterm.enable = false;
|
||||
@ -136,6 +137,22 @@
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.polkit.enable = true;
|
||||
|
||||
systemd = {
|
||||
user.services.polkit-gnome-authentication-agent-1 = {
|
||||
description = "polkit-gnome-authentication-agent-1";
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
wants = [ "graphical-session.target" ];
|
||||
after = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 1;
|
||||
TimeoutStopSec = 10;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
security.pam.services.hyprlock = { };
|
||||
|
||||
# Sound
|
||||
@ -248,6 +265,7 @@
|
||||
vim
|
||||
htop
|
||||
mc
|
||||
xorg.xhost
|
||||
];
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
|
Reference in New Issue
Block a user