1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-28 20:59:47 +01:00
home-manager/modules/services
Sebastián Zavala Villagómez 5e2f47c5a5
hypridle: fix service when no config file
The systemd user service depends on

  config.xdg.configFile."hypr/hypridle.conf".source

for `X-Restart-Triggers`. When `cfg.settings` is the default `{}`,
this causes failure since

  config.xdg.configFile."hypr/hypridle.conf".source

will not exist.

Making the addition conditional on `cfg.settings` actually having
content, which would mean `xdg.configFile."hypr/hypridle.conf"` does
exist, avoids the error.
2024-11-24 17:41:50 +01:00
..
podman-linux podman: install package and create config files 2024-11-23 22:36:33 +01:00
redshift-gammastep treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
window-managers sway: do not use pkgs.sway when cfg.package = null 2024-09-16 00:56:20 +02:00
activitywatch.nix activitywatch: add module 2024-03-15 09:39:56 +01:00
amberol.nix amberol: add module 2024-04-22 20:06:31 +02:00
arrpc.nix arrpc: add module 2024-02-05 23:36:51 +01:00
autorandr.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
avizo.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
barrier.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
batsignal.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
betterlockscreen.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
blanket.nix blanket: add module 2024-06-22 08:19:17 +02:00
blueman-applet.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
borgmatic.nix borgmatic: fix service permissions 2024-09-15 09:32:04 +02:00
cachix-agent.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
caffeine.nix caffeine: remove ProtectHome service option 2023-12-10 08:37:02 +01:00
cbatticon.nix cbatticon: Add support for batteryId 2023-10-23 15:50:42 +02:00
cliphist.nix treewide: fix eval after Nixpkgs maintainer changes 2024-07-05 01:19:01 +02:00
clipman.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
clipmenu.nix clipmenu: set Environment to a list 2023-11-01 20:36:53 -07:00
comodoro.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
conky.nix conky: update systemd exec path to config package 2024-11-23 18:36:17 +01:00
copyq.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
darkman.nix darkman: allow no configuration 2024-03-26 14:24:49 -06:00
devilspie2.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
dropbox.nix treewide: deprecate DRY_RUN_CMD and DRY_RUN_NULL 2024-01-24 13:36:05 +01:00
dunst.nix {gtk, dunst}: replace pkgs.gnome.adwaita-icon-theme with pkgs.adwaita-icon-theme in the examples (#5712) 2024-11-16 19:36:13 +01:00
dwm-status.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
easyeffects.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
emacs.nix emacs: add darwin service 2024-11-23 19:15:47 +01:00
espanso.nix espanso: use launcher command on Linux 2024-10-19 09:01:11 +02:00
etesync-dav.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
flameshot.nix flameshot: fix type of systemd Service.Environment 2024-09-19 18:13:03 +02:00
fluidsynth.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
fnott.nix maintainers: remove polykernel 2024-07-28 11:58:33 -04:00
fusuma.nix fusuma: add missing dependencies 2024-03-14 18:08:10 +01:00
getmail.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
git-sync.nix git-sync: add example to repository option 2024-11-13 23:03:24 +01:00
glance.nix glance: add module 2024-06-28 17:24:13 +02:00
gnome-keyring.nix gnome-keyring: update package 2024-07-10 23:15:28 +02:00
gpg-agent.nix gpg-agent: use $TTY parameter in zsh integration 2024-10-25 09:53:41 +02:00
grobi.nix grobi: fix type of systemd Service.Environment 2024-09-19 18:17:44 +02:00
gromit-mpx.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
home-manager-auto-upgrade.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
hound.nix hound: fix type of systemd Service.Environment 2024-09-19 18:17:05 +02:00
hypridle.nix hypridle: fix service when no config file 2024-11-24 17:41:50 +01:00
hyprpaper.nix hyprpaper: fix service when no config file 2024-11-24 14:05:10 +01:00
imapnotify-accounts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
imapnotify.nix imapnotify: enable STARTTLS if enabled in email account config (#5013) 2024-02-10 23:01:01 +01:00
kanshi.nix kanshi: add package to home.packages 2024-11-13 23:07:20 +01:00
kbfs.nix kbfs: fix type of systemd Service.Environment 2024-09-19 18:16:40 +02:00
kdeconnect.nix kdeconnect: fix type of systemd Service.Environment 2024-09-19 18:14:28 +02:00
keybase.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
keynav.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
lieer.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
listenbrainz-mpd.nix listenbrainz-mpd: fix config example 2024-05-28 00:07:22 +02:00
lorri.nix lorri: systemd allow access to cache directories 2024-02-24 20:30:51 +01:00
mako.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mbsync.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
megasync.nix megasync: fix issue with service failing to launch 2024-10-04 13:32:07 +02:00
mopidy.nix mopidy: make scan service depend on mopidy-local 2024-05-11 00:26:54 +02:00
mpd-discord-rpc.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mpd-mpris.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mpd.nix mpd: fix type of systemd Service.Environment 2024-09-19 18:14:54 +02:00
mpdris2.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
mpris-proxy.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
muchsync.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
network-manager-applet.nix network-manager-applet: add XDG data directory 2024-01-26 23:04:20 +01:00
nextcloud-client.nix nextcloud-client: fix type of systemd Service.Environment 2024-09-19 18:18:08 +02:00
nix-gc.nix nix-gc: add randomizedDelaySec option 2024-10-25 15:53:42 +02:00
notify-osd.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
opensnitch-ui.nix opensnitch-ui: fix type of systemd Service.Environment 2024-09-19 18:18:36 +02:00
osmscout-server.nix osmscout-server: add module 2023-12-28 09:28:48 +01:00
owncloud-client.nix opensnitch-client: fix type of systemd Service.Environment 2024-09-19 18:18:59 +02:00
pantalaimon.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
parcellite.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
pass-secret-service.nix pass-secret-service: add GNUPGHOME to service env vars 2024-10-04 09:19:02 +02:00
pasystray.nix pasystray: add extraOptions 2023-09-19 08:02:18 +02:00
pbgopy.nix maintainers: remove ivar 2024-07-03 09:39:20 +02:00
picom.nix picom: use getExe instead of hardcoded binary 2023-11-21 08:55:46 +01:00
plan9port.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
playerctld.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
plex-mpv-shim.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
polybar.nix polybar: fix type of systemd Service.Environment 2024-09-19 18:19:27 +02:00
poweralertd.nix poweralertd: fix regression 2024-09-21 09:08:48 +02:00
psd.nix psd: add module 2024-04-28 22:39:08 +02:00
pueue.nix pueue: always write configuration file 2024-03-06 12:58:02 +01:00
pulseeffects.nix pulseeffects: fix test evaluation 2024-06-29 17:20:18 +02:00
random-background.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
recoll.nix recoll: update option descriptions 2023-10-18 08:45:55 +02:00
remmina.nix remmina: add module 2024-04-19 17:16:42 +02:00
rsibreak.nix rsibreak: fix type of systemd Service.Environment 2024-09-19 18:15:20 +02:00
safeeyes.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
screen-locker.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
sctd.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
signaturepdf.nix signaturepdf: add service 2023-11-27 00:19:14 +01:00
snixembed.nix snixembed: add module 2024-10-11 00:14:36 +02:00
spotifyd.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
ssh-agent.nix ssh-agent: use POSIX conforming if condition 2024-09-20 09:38:42 +02:00
stalonetray.nix stalonetray: move config file to XDG_CONFIG_HOME 2024-06-24 00:10:26 +02:00
status-notifier-watcher.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
swayidle.nix swayidle: minor cleanups 2024-09-20 11:45:46 +02:00
swaync.nix swaync: fix example configuration 2024-09-14 09:15:45 +02:00
swayosd.nix swayosd: avoid restarting too quickly 2024-07-24 07:37:28 +02:00
sxhkd.nix sxhkd: set scope OOMPolicy to continue 2023-10-24 17:48:13 +02:00
syncthing.nix syncthing: expand declarative configuration 2024-11-18 23:27:58 +01:00
systembus-notify.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
taffybar.nix taffybar: Avoid restarting too quickly (#4316) 2023-08-06 11:00:44 +02:00
tahoe-lafs.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
taskwarrior-sync.nix taskwarrior: support taskwarrior3 migration 2024-09-07 09:41:58 +02:00
trayer.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
trayscale.nix trayscale: add module 2024-09-13 10:59:31 +02:00
twmn.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
udiskie.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
unclutter.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
unison.nix unison: better retry/restart reporting failures 2023-12-23 19:13:09 +01:00
vdirsyncer.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
volnoti.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
wlsunset.nix wlsunset: update options 2024-05-05 19:59:14 +02:00
wob.nix wob: add module 2024-01-28 10:46:09 +01:00
xcape.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xembed-sni-proxy.nix xembed-sni-proxy: fix type of systemd Service.Environment 2024-09-19 18:13:59 +02:00
xidlehook.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xscreensaver.nix xscreensaver: fix type of systemd Service.Environment 2024-09-19 18:08:54 +02:00
xsettingsd.nix xsettings: fix type of systemd Service.Environment 2024-09-19 18:15:43 +02:00
xsuspender.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00