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.
This commit is contained in:
parent
e17ea91263
commit
a62943d0bb
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/registries/customer-projects/
|
3
home.nix
3
home.nix
|
@ -114,7 +114,8 @@
|
||||||
"phpactor/phpactor.yml".source = ./home/files/phpactor.yml;
|
"phpactor/phpactor.yml".source = ./home/files/phpactor.yml;
|
||||||
"tig/config".source = ./home/files/tig;
|
"tig/config".source = ./home/files/tig;
|
||||||
|
|
||||||
"nix/nix.conf".source = ./home/files/nix.conf;
|
"nix/nix.conf".source = ./home/files/nix/nix.conf;
|
||||||
|
"nix/registry.json".source = ./home/files/nix/registry.json;
|
||||||
|
|
||||||
"cmus/smyckblue.theme".source = ./home/files/cmus/smyckblue.theme;
|
"cmus/smyckblue.theme".source = ./home/files/cmus/smyckblue.theme;
|
||||||
"cmus/rc".source = ./home/files/cmus/rc;
|
"cmus/rc".source = ./home/files/cmus/rc;
|
||||||
|
|
15
home/files/nix/registry.json
Normal file
15
home/files/nix/registry.json
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"flakes": [
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"id": "cp",
|
||||||
|
"type": "indirect"
|
||||||
|
},
|
||||||
|
"to": {
|
||||||
|
"path": "/home/daniels/.config/nixpkgs/registries/customer-projects",
|
||||||
|
"type": "path"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version": 2
|
||||||
|
}
|
|
@ -60,7 +60,7 @@ It has the following sub folder:
|
||||||
|
|
||||||
`flakes/`
|
`flakes/`
|
||||||
Holds structure with specific flakes.
|
Holds structure with specific flakes.
|
||||||
Those should provide libraries and template for development projects.
|
Those should provide libraries and template.
|
||||||
|
|
||||||
Update
|
Update
|
||||||
------
|
------
|
||||||
|
@ -102,11 +102,6 @@ Todos
|
||||||
|
|
||||||
* Migrate firefox (with geckodriver), thunderbird, ungoogled chromium
|
* Migrate firefox (with geckodriver), thunderbird, ungoogled chromium
|
||||||
|
|
||||||
* Begin migrating local development to execute php. On a per customer project.
|
|
||||||
|
|
||||||
* `flake.nix` and `flake.lock` need to be checked into a repo … How to handle that if customer doesn't want the file?
|
|
||||||
Maybe symlinks will work, so I've a dedicated repo with the project flakes and link them into project repos?
|
|
||||||
|
|
||||||
* Migrate home manager to use flake for better rollback support if update breaks something.
|
* Migrate home manager to use flake for better rollback support if update breaks something.
|
||||||
|
|
||||||
* Maybe PR upstream: `./home/modules/programs/languagetool.nix`.
|
* Maybe PR upstream: `./home/modules/programs/languagetool.nix`.
|
||||||
|
|
Loading…
Reference in a new issue