mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-09 10:16:55 +00:00
Instead of having to manually stub packages that should not be downloaded we instead automatically stub all packages (except a small list of whitelisted ones). Tests can re-introduce the real package by using the `realPkgs` module argument.
19 lines
385 B
Nix
19 lines
385 B
Nix
{
|
|
programs.todoman = {
|
|
enable = true;
|
|
glob = "*/*";
|
|
extraConfig = ''
|
|
date_format = "%d.%m.%Y"
|
|
default_list = "test"
|
|
'';
|
|
};
|
|
|
|
accounts.calendar.basePath = "base/path/calendar";
|
|
|
|
nmt.script = ''
|
|
configFile=home-files/.config/todoman/config.py
|
|
assertFileExists $configFile
|
|
assertFileContent $configFile ${./todoman-config-expected}
|
|
'';
|
|
}
|
|
|