1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-28 04:39:48 +01:00
home-manager/modules
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
..
accounts accounts/contacts: fix defaultText rendering 2024-10-23 22:55:53 +02:00
config home-cursor: add hyprcursor support 2024-11-23 18:27:16 +01:00
files files: make collision error message more helpful 2024-04-30 00:41:45 +02:00
i18n/input-method kime: remove documentation dependency on config 2024-03-18 22:13:07 +01:00
launchd treewide: deprecate DRY_RUN_CMD and DRY_RUN_NULL 2024-01-24 13:36:05 +01:00
lib lib/file-type: Make force option visible (#6003) 2024-11-16 20:54:20 +01:00
lib-bash home-manager: fix nix-build option -q 2024-03-22 19:46:20 +01:00
misc version: allow 25.05 as state version 2024-11-17 09:34:39 +01:00
po Translate using Weblate (German) 2024-10-17 11:23:29 +00:00
programs librewolf: hide bookmarks option 2024-11-18 22:14:54 +01:00
services hypridle: fix service when no config file 2024-11-24 17:41:50 +01:00
targets darwin: misc defaults (dock, menu clock, finder) 2024-05-11 00:04:45 +02:00
default.nix home-manager: set module class to "homeManager" 2024-04-27 09:28:21 +02:00
files.nix home-manager: extract inline shell script to file 2024-04-06 10:04:27 +02:00
home-environment.nix docs: home.sessionVariable clarification 2024-11-05 21:18:50 +01:00
manual.nix docs: add style sheets and scrubDerivations 2024-02-01 01:10:58 +01:00
modules.nix podman: add module 2024-11-01 20:45:06 +01:00
systemd-activate.rb Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd-activate.sh systemd: don't try to restart templates 2024-06-26 18:14:48 +02:00
systemd.nix systemd: use getExe for sd-switch 2024-09-12 13:54:47 +02:00
xresources.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
xsession.nix xsession: allow xplugd to restart on failure 2024-01-16 08:07:00 +01:00