1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00
home-manager/modules
John Axel Eriksson 8a160f01ab
sway: fix onChange for sway config when sway isn't running (#1506)
`pgrep -x somecommand` exits with a non-zero status if it finds no
process running with the given name. When using home-manager as a
NixOS module, on boot (when sway isn't running) this script would
fail and then fail the unit since it seems the onChange scripts
are running with the -e switch.

This change ensures we're always returning a 0 exit status where we
attempt to get the pid of sway - we're only interested in either the
pid or an empty string, the exit status isn't important.
2020-09-23 12:10:58 +01:00
..
accounts Move email account options to their owning modules 2020-06-16 00:45:20 +02:00
lib lib/file-type: remove types.loaOf 2020-09-02 11:13:36 -07:00
lib-bash home-manager: respect NIX_STATE_DIR 2020-06-14 20:41:55 +02:00
misc pet: add module 2020-09-22 23:20:17 +02:00
programs pet: add module 2020-09-22 23:20:17 +02:00
services sway: fix onChange for sway config when sway isn't running (#1506) 2020-09-23 12:10:58 +01:00
targets generic-linux: add option extraXdgDataDirs 2020-09-11 12:26:55 +02:00
default.nix Switch to extended Nixpkg's lib 2020-01-21 20:47:04 +01:00
files.nix files: make sure the target file name is escaped 2020-08-29 18:22:03 +02:00
home-environment.nix home-environment: coerce home.homeDirectory to string 2020-09-02 22:37:21 +02:00
manual.nix Switch to extended Nixpkg's lib 2020-01-21 20:47:04 +01:00
modules.nix pet: add module 2020-09-22 23:20:17 +02:00
systemd-activate.rb Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd-activate.sh Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd.nix systemd: fix systemd spelling (#1373) 2020-09-06 11:28:40 +02:00
xcursor.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
xresources.nix xresources: do not generate file for empty properties 2020-06-28 00:41:05 +02:00
xsession.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00