1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-27 04:09:47 +01:00
home-manager/tests/modules/programs/micro/micro.nix

25 lines
380 B
Nix
Raw Normal View History

{ ... }:
{
programs.micro = {
enable = true;
settings = {
autosu = false;
cursorline = false;
};
};
test.stubs.micro = { };
nmt.script = ''
assertFileContent home-files/.config/micro/settings.json \
${builtins.toFile "micro-expected-settings.json" ''
{
"autosu": false,
"cursorline": false
}
''}
'';
}