Skip to content

Commit

Permalink
nixos/lightdm: make lightdm user shell bash
Browse files Browse the repository at this point in the history
In #100119 pantheon's greeter
has g-s-d running which allows brightness controls via pkexec.
This is changed in newer versions of g-s-d (pantheon uses a fork currently),
but whenever brightness is changed with a shell of `shadow` we get
```
Oct 10 23:51:44 kirXps pkexec[18722]: lightdm: Executing command [USER=root] [TTY=unknown] [CWD=/var/lib/lightdm] [COMMAND=/run/current-system/sw/bin/elementary-settings-daemon/gsd-backlight-helper /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight 65587]
```

I'm not sure this should be strictly needed, so we should try to
revert later on when pantheon's g-s-d is updated.

(cherry picked from commit c134f64)
  • Loading branch information
worldofpeace committed Oct 24, 2020
1 parent 0d21510 commit 89d75bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/services/x11/display-managers/lightdm.nix
Expand Up @@ -308,6 +308,7 @@ in
home = "/var/lib/lightdm";
group = "lightdm";
uid = config.ids.uids.lightdm;
shell = pkgs.bash;
};

systemd.tmpfiles.rules = [
Expand Down

0 comments on commit 89d75bc

Please sign in to comment.