aboutsummaryrefslogtreecommitdiff
path: root/tests/modules/misc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fontconfig: disable multiple font packages testRobert Helgesson2020-07-311-1/+18
| | | | | | This test started failing as described in the code comment. May be related to Nixpkgs updating Fontconfig from version 2.12 to 2.13. See https://github.com/NixOS/nixpkgs/pull/73795.
* tests: improve test purityRobert Helgesson2020-04-243-5/+1
| | | | | | | | | 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
* debug: add moduleMaximilian Bosch2020-03-071-0/+25
| | | | | | | | | | | | | This one is fairly similar to `environment.enableDebugInfo`[1] (hence the name). It ensures that the `debug`-output of packages defined in `home.packages` is installed if available and ensures that `gdb`/`elfutils` find those symbols by adding `~/.nix-profile/lib/debug` to the `NIX_DEBUG_INFO_DIRS`[2] variable. [1] https://github.com/NixOS/nixpkgs/blob/release-19.09/nixos/modules/config/debug-info.nix [2] https://github.com/NixOS/nixpkgs/blob/release-19.09/pkgs/development/tools/misc/gdb/debug-info-from-env.patch PR #1040
* Apply `nixfmt` on many filesRobert Helgesson2020-02-025-20/+8
|
* tests: reduce number of downloadsRobert Helgesson2019-10-262-8/+22
| | | | | | 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.
* xdg-mime-apps: add modulepacien2019-09-153-0/+42
|
* xsession: remove bashisms in start scriptsRobert Helgesson2019-09-122-3/+3
| | | | Fixes #836
* keyboard: make `layout` and `variant` optionalRobert Helgesson2019-09-053-0/+46
| | | | | | | | Also default these options to `null` for state version ≥ 19.09. Fixes #811 Suggested-by: Sean Marshallsay <srm.1708@gmail.com>
* xsession: verify setxkbmap service in testRobert Helgesson2019-09-052-1/+20
|
* xsession: add option `importedVariables`Robert Helgesson2019-06-234-0/+67
| | | | | | | This option lists the environment variables to be imported into the systemd user session. Also add a basic test of the xsession module.
* fontconfig: fix build errorRobert Helgesson2019-05-064-0/+52
| | | | | | | | | | | This fixes a build error occurring when building a configuration having fontconfig enabled and `home.packages` only containing one package installing things to `/lib`. Also adds a number of test cases to verify the fontconfig cache generation functionality. Fixes #703
* Fix type of various `sessionVariables` optionsRobert Helgesson2019-04-273-0/+24
Unfortunately, using `attrsOf` is not possible since it results in too eager evaluation. In particular, the home.sessionVariables = { FOO = "Hello"; BAR = "${config.home.sessionVariables.FOO} World!"; }; example will cause an infinite recursion. This commit restores the option type of - `home.sessionVariables`, - `pam.sessionVariables`, - `programs.bash.sessionVariables`, and - `programs.zsh.sessionVariables` to `attrs`. It also adds test cases for the above options to avoid regressions. Fixes #659