aboutsummaryrefslogtreecommitdiff
path: root/tests/modules/services (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-09-04kanshi: fix exec configurationNicolas Berbiche2-0/+2
Also add a test case for the exec option. PR #1446
2020-08-26sway: set bar defaults to nullAlex Rice2-0/+36
Allows fields of bar to be nullable and omit them from the generated configuration if unset. Fixes #1361 PR #1386
2020-08-25sway: add default testAlex Rice3-0/+151
2020-08-15kanshi: add serviceVincent Gatine3-0/+66
PR #1142
2020-07-25dropbox: add moduleeyjhb2-0/+26
Ability to control Dropbox daemon, if it should start and where to place the files. PR #1391
2020-07-17sway: focus.followMouse supports yes/no/alwaysCole Mickens8-1/+404
Also add associated tests for both Sway and i3. PR #1231
2020-06-24emacs: fix service environmentTad Fisher6-6/+21
Emacs populates 'exec-path' at launch from the 'PATH' environment variable. Likewise, the emacs derivation from nixpkgs populates 'load-path' from the 'NIX_PROFILES' variable. As neither of these are available by default in the systemd user manager, revert to the previous behavior of launching the Emacs daemon from a login shell. Fixes #1354 Fixes #1340 PR #1355
2020-06-14fluidsynth: add moduleVincent Breitmoser2-0/+25
Fluidsynth is a real-time MIDI synthesizer based on the SoundFont 2 format. PR #1326
2020-06-11emacs: Support socket activation via systemdTad Fisher10-0/+175
Add 'services.emacs.socketActivation.enable' for generating an 'emacs.socket' systemd unit. Emacs since version 26 has supported socket activation, whereby an external process manager such as systemd listens on a socket and passes it to the Emacs daemon when the manager launches it. This improves startup time of the user session and avoids launching the daemon when not needed, for example when launching the user session via SSH. This implementation hard-codes the socket path to the default for the version of 'programs.emacs.finalPackage', because systemd does not perform shell expansion in the socket unit's 'ListenStream' parameter and it seems like an advanced use-case to change the socket path. Shell expansion would be desirable as the socket path usually resides in directories such as $XDG_RUNTIME_DIR or $TMPDIR. Tests were added to verify behavior in the following cases: - Emacs service with socket activation disabled - Emacs 26 with socket activation enabled - Emacs 27 with socket activation enabled PR #1314
2020-04-24tests: improve test purityRobert Helgesson1-3/+0
Before the XDG variables would be set from the user's environment, if available. This would break some tests. With this change the tests should be fully deterministic. Fixes #1190
2020-04-10tests: update nmtRobert Helgesson3-3/+3
2020-04-06sxhkd: add dummy package in testsRobert Helgesson1-1/+4
2020-03-08lieer: remove package dependency in testsRobert Helgesson1-1/+3
2020-03-07services.lieer: add moduleTad Fisher4-0/+53
Add 'services.lieer', which generates systemd timer and service units to synchronize a Gmail account with lieer. Per-account configuration lives in 'accounts.email.accounts.<name>.lieer.sync'.
2020-03-04polybar: add test caseRobert Helgesson3-0/+70
2020-02-02Apply `nixfmt` on many filesRobert Helgesson3-23/+12
2020-01-26tests: clean up testsRobert Helgesson3-0/+3
- Move all module tests to their own directories. - Avoid duplication of `// import`.
2019-12-31i3: update default i3 key bindingsMichael Hoang1-18/+23
Update to match the default i3 key bindings https://github.com/i3/i3/blob/master/etc/config PR #957
2019-10-28tests: fix i3-keybindings testNikita Uvarov1-0/+1
2019-10-26tests: reduce number of downloadsRobert Helgesson2-8/+117
This replaces some derivation outputs by simple strings rather than full Nix store paths. This removes the need to download the whole derivation when all we need is a static string.
2019-09-17sxhkd: add serviceNazarii Bardiuk4-0/+68
2019-01-14i3: add test of keybinding merge logicRobert Helgesson1-0/+34