mirror of
https://github.com/nix-community/home-manager
synced 2024-11-14 15:19:45 +01:00
25 lines
380 B
Nix
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
|
||
|
}
|
||
|
''}
|
||
|
'';
|
||
|
}
|