Configure hyprlock, work on waybar

This commit is contained in:
2024-06-13 22:08:05 +02:00
parent 49cfa7c50d
commit 60dae66fd1
6 changed files with 378 additions and 42 deletions

View File

@ -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;