We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closing the lids suspend the computer, and pressing poweroff power it off, even if I have:
[Login] KillUserProcesses=no HandleLidSwitch=ignore HandleLidSwitchDocked=ignore HandlePowerKey=ignore HandleSuspendKey=ignore HandleHibernateKey=ignore HandleLidSwitchDocked=ignore
In my logind (
logind = { lidSwitch = "ignore"; # newly added extraConfig = '' HandlePowerKey=ignore HandleSuspendKey=ignore HandleHibernateKey=ignore HandleLidSwitchDocked=ignore ''; };
)
Has always worked before upgrading (systemd 234) and with it is inhibited correctly with
systemd-inhibit --what=handle-lid-switch sleep 1d and
systemd-inhibit --what=handle-lid-switch sleep 1d
systemd-inhibit --what=handle-power-key sleep 1d
/etc/systemd/logind.conf has the right content
"x86_64-linux"
Linux 4.14.20, NixOS, 18.03pre129076.831ef4756e3 (Impala)
yes
nix-env (Nix) 1.11.16
"nixos-18.03pre129076.831ef4756e3, telegram-cli-2016-03-23, machine-0.9.0, gitlab-runner-1.10.4, california-0.4.0, entr-3.6, tmuxp-1.2.2, keybase-20170209.17b641d, kbfs-20170209.d1db463, non-2016-12-07, go-sct-20160529-1d6b5e0, freecad-0.16, antimony-0.9.2, librecad-2.1.3, lemonbar-xft-unstable-2016-02-17, pencil-2.0.21, python3.5-qnotero-1.0.0, ruby-2.3.3, gimp-2.8.20, chromium-56.0.2924.87, nix-repl-1.11.7-2016-02-28, gparted-0.26.1, screen-4.5.1, vmpk-0.5.1, a2jmidid-8, platformio, teensyduino-1.6.12, teensy-loader-cli-2.1, blender-2.78c, unetbootin-613, mediainfo-0.7.91, xournal-0.4.8, zip-3.0, graphviz-2.40.1, ffmpeg-3.2.4, vlc-2.2.4, okular-16.12.2, pdfmod-0.9.1, green-pdfviewer-nightly-2014-04-22, android-sdk-25.2.3, android-studio-2.2.3.0, zathura-with-plugins-0.3.7, openjdk-8u121b13, android-ndk-r10e, virtualbox-5.1.14, R-3.3.2-wrapper, aspell-dict-en-2016.06.26-0"
"nixpkgs-18.03pre117013.aebdc892d6"
"nixos-18.03pre129076.831ef4756e3"
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
The text was updated successfully, but these errors were encountered:
I'm using i3wm and no power-manager that might inhibit systemd-logind
Sorry, something went wrong.
Seems to be fixed on the unstable channel
@knupfer ok thanks, I'll verify and close it if it's fixed for me, too. I'm having problems switching generation, might take a while
Ok I can confirm that now it's working
No branches or pull requests
Issue description
Closing the lids suspend the computer, and pressing poweroff power it off, even if I have:
In my logind (
)
Has always worked before upgrading (systemd 234) and with it is inhibited correctly with
systemd-inhibit --what=handle-lid-switch sleep 1d
and
systemd-inhibit --what=handle-power-key sleep 1d
/etc/systemd/logind.conf has the right content
Technical details
"x86_64-linux"
Linux 4.14.20, NixOS, 18.03pre129076.831ef4756e3 (Impala)
yes
yes
nix-env (Nix) 1.11.16
"nixos-18.03pre129076.831ef4756e3, telegram-cli-2016-03-23, machine-0.9.0, gitlab-runner-1.10.4, california-0.4.0, entr-3.6, tmuxp-1.2.2, keybase-20170209.17b641d, kbfs-20170209.d1db463, non-2016-12-07, go-sct-20160529-1d6b5e0, freecad-0.16, antimony-0.9.2, librecad-2.1.3, lemonbar-xft-unstable-2016-02-17, pencil-2.0.21, python3.5-qnotero-1.0.0, ruby-2.3.3, gimp-2.8.20, chromium-56.0.2924.87, nix-repl-1.11.7-2016-02-28, gparted-0.26.1, screen-4.5.1, vmpk-0.5.1, a2jmidid-8, platformio, teensyduino-1.6.12, teensy-loader-cli-2.1, blender-2.78c, unetbootin-613, mediainfo-0.7.91, xournal-0.4.8, zip-3.0, graphviz-2.40.1, ffmpeg-3.2.4, vlc-2.2.4, okular-16.12.2, pdfmod-0.9.1, green-pdfviewer-nightly-2014-04-22, android-sdk-25.2.3, android-studio-2.2.3.0, zathura-with-plugins-0.3.7, openjdk-8u121b13, android-ndk-r10e, virtualbox-5.1.14, R-3.3.2-wrapper, aspell-dict-en-2016.06.26-0"
"nixpkgs-18.03pre117013.aebdc892d6"
"nixos-18.03pre129076.831ef4756e3"
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
The text was updated successfully, but these errors were encountered: