fresh-editor: init module
This commit is contained in:
parent
27b60942b7
commit
2d7b64e32f
5 changed files with 77 additions and 0 deletions
3
tests/modules/programs/fresh-editor/config.json
Normal file
3
tests/modules/programs/fresh-editor/config.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"foo": "bar"
|
||||
}
|
||||
3
tests/modules/programs/fresh-editor/default.nix
Normal file
3
tests/modules/programs/fresh-editor/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
fresh-editor = ./fresh-editor-settings.nix;
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
programs.fresh-editor = {
|
||||
enable = true;
|
||||
settings = builtins.fromJSON (builtins.readFile ./config.json);
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileContent home-files/.config/fresh/config.json ${./config.json}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue