Commit graph

6 commits

Author SHA1 Message Date
Daniel Siepmann a62943d0bb
Configure registry for customer projects
I created a private repository within `registries/customer-projects`.
This holds flakes.
The folder is registered as registry.

That allows to run the following from within a customer project:

    nix run cp\#reuter-phpstan

In order to execute the customer specific application from flake.
2022-02-11 10:03:01 +01:00
Daniel Siepmann bf40d77b92
Optimize update command
Use new nix store gc.
Also optimise file system usage by optimising -> converting duplicates
to hardlinks.
2022-02-10 21:34:32 +01:00
Daniel Siepmann 593a1ad7e2
Make use of cachix in order to fetch pre compiled phpcs packages
The phps used via flake for local development of legacy projects
distributed pre build packages via cachix.

Install cachix and add configuration to allow fetching of pre compiled
packages.
2022-02-10 20:38:16 +01:00
Daniel Siepmann de06dbcd13
Add first basic flake to be used as flake.nix in projects
The flake is very basic and encapsulates frontend compilation via node
for customer projects.
The flake is intended to be used by other flake.nix within the projects,
which will use the defined packages to build apps outputs.
They should use the packages like `writeShellApplication` itself,
call it with necessary argument set in order to receive a
out of the box working solution.

A template is also provided which can be used like:

    nix flake init -t <path to this flake>

`defaultTemplate` is defined in output and will be used.
2022-02-10 20:18:32 +01:00
Daniel Siepmann 4c095733d7
Remove node-version switcher script
My host does no longer provide any node or npm or yarn.
Project are partially migrated to shell.nix already.
I still need to migrate all projects. But I'm not working to much on
frontend and don't need to re compile assets to often, so no worries.

Some stuff will not work anymore, e.g. coc within neovim needs nodejs.
That's broken for now, but I don't care to much, not sure whether I used
it at all.

That will be part of neovim migration to home-manager / nix.
2022-02-09 21:16:13 +01:00
Daniel Siepmann 27a088f89e
Migrate readme from rst to md
I prefer restructured text, but Gitea has no out of the box support.
So switch to markdown as there is more or less no difference anyway,
for such a simple file.

One big downside: There is no definition list.
2022-02-09 19:12:00 +01:00
Renamed from readme.rst (Browse further)