1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-02 13:03:33 +02:00
Commit Graph

116 Commits

Author SHA1 Message Date
Robert Helgesson
b256e3a44f
fontconfig: fix build error
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
2019-05-06 00:44:23 +02:00
Robert Helgesson
939274281a
tests: bump nmt version 2019-05-06 00:17:30 +02:00
Robert Helgesson
b6e613c771
Fix type of various sessionVariables options
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
2019-04-27 01:07:09 +02:00
Robert Helgesson
6ebf14143a
systemd: add some basic tests 2019-03-24 15:52:30 +01:00
Robert Helgesson
989e636d98
ssh: add some basic tests 2019-03-19 23:00:17 +01:00
Wael M. Nasreddine
2093cf425f
tmux: general improvements and added options
See #575 for discussion.
2019-02-13 22:14:30 +01:00
Robert Helgesson
a334a941c4
tests: bump to latest nmt version 2019-02-10 12:09:47 +01:00
Robert Helgesson
0590c2a4f6
mbsync: add basic test of result configuration 2019-01-31 02:08:40 +01:00
Robert Helgesson
45cadbd4f3
git: quote sendemail section header
This will allow, e.g., the character `@` in the email identity.

Also adds a test case.

Fixes #557
2019-01-29 18:28:55 +01:00
Robert Helgesson
7c04351a57
files: allow a wider range of source file names
In particular support source files whose name start with `.` or
contain characters not allowed in the nix store, such as spaces.

Also add some test cases for `home.file`.
2019-01-19 12:44:58 +01:00
Robert Helgesson
46f787950a
tests: bump nmt version 2019-01-19 12:41:45 +01:00
Robert Helgesson
f6ec26075d
tests: simplify test names 2019-01-14 23:02:33 +01:00
Robert Helgesson
c42206db02
i3: add test of keybinding merge logic 2019-01-14 22:50:11 +01:00
Robert Helgesson
bb64012914
tests: bump nmt to latest 2019-01-14 22:48:59 +01:00
Robert Helgesson
e150dd4a66
texlive: always require at least one extra package
Fixes #526
2019-01-09 02:09:23 +01:00
Robert Helgesson
6d56abcec1
tests: add initial test framework 2018-12-11 00:57:58 +01:00