1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-02 21:13:33 +02: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

25 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
}
''}
'';
}