0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos/cosmic-greeter: minor corrections

This commit is contained in:
Gaetan Lepage 2025-04-02 17:43:57 +02:00
parent b09b796d1f
commit c657d02c4f
2 changed files with 3 additions and 7 deletions

View file

@ -7,7 +7,6 @@
config,
lib,
pkgs,
utils,
...
}:
@ -97,14 +96,11 @@ in
systemd = {
packages = [ pkgs.cosmic-session ];
user.targets = {
# TODO: remove when upstream has XDG autostart support
cosmic-session = {
wants = [ "xdg-desktop-autostart.target" ];
before = [ "xdg-desktop-autostart.target" ];
};
tray = {
description = "Cosmic Tray Target";
requires = [ "graphical-session-pre.target" ];
};
};
};
@ -125,7 +121,7 @@ in
services.displayManager.sessionPackages = [ pkgs.cosmic-session ];
services.libinput.enable = true;
services.upower.enable = true;
# Setup PAM authentication for the `cosmic-greeter` user
# Required for screen locker
security.pam.services.cosmic-greeter = { };
# Good to have defaults