mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 13:39:46 +01:00
24 lines
572 B
Nix
24 lines
572 B
Nix
|
{ ... }: {
|
||
|
programs.bacon = {
|
||
|
enable = true;
|
||
|
settings = {
|
||
|
jobs = {
|
||
|
ta = {
|
||
|
command = [ "cargo" "test" "--all-features" "--color" "always" ];
|
||
|
need_stdout = true;
|
||
|
};
|
||
|
};
|
||
|
export = {
|
||
|
enabled = true;
|
||
|
path = ".bacon-locations";
|
||
|
line_format = "{kind} {path}:{line}:{column} {message}";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
test.stubs.bacon = { };
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/.config/bacon/prefs.toml
|
||
|
assertFileContent home-files/.config/bacon/prefs.toml ${./expected.toml}
|
||
|
'';
|
||
|
}
|