1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00
home-manager/tests/modules/programs/micro/micro.nix
Michael Forster 65bcfaccc5
micro: add module
This adds initial bare-bones support for the `micro` editor.
2022-06-24 19:19:11 +02:00

24 lines
380 B
Nix

{ ... }:
{
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
}
''}
'';
}