fresh-editor: init module

This commit is contained in:
Pol Dellaiera 2026-01-10 10:43:56 +01:00 committed by Austin Horstman
parent 27b60942b7
commit 2d7b64e32f
5 changed files with 77 additions and 0 deletions

View file

@ -0,0 +1,3 @@
{
"foo": "bar"
}

View file

@ -0,0 +1,3 @@
{
fresh-editor = ./fresh-editor-settings.nix;
}

View file

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