diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..01f3b81 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/registries/customer-projects/ diff --git a/home.nix b/home.nix index 9b5404e..788db11 100644 --- a/home.nix +++ b/home.nix @@ -114,7 +114,8 @@ "phpactor/phpactor.yml".source = ./home/files/phpactor.yml; "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/rc".source = ./home/files/cmus/rc; diff --git a/home/files/nix.conf b/home/files/nix/nix.conf similarity index 100% rename from home/files/nix.conf rename to home/files/nix/nix.conf diff --git a/home/files/nix/registry.json b/home/files/nix/registry.json new file mode 100644 index 0000000..a6cef38 --- /dev/null +++ b/home/files/nix/registry.json @@ -0,0 +1,15 @@ +{ + "flakes": [ + { + "from": { + "id": "cp", + "type": "indirect" + }, + "to": { + "path": "/home/daniels/.config/nixpkgs/registries/customer-projects", + "type": "path" + } + } + ], + "version": 2 +} \ No newline at end of file diff --git a/readme.md b/readme.md index 7dc99f3..5d374ae 100644 --- a/readme.md +++ b/readme.md @@ -60,7 +60,7 @@ It has the following sub folder: `flakes/` Holds structure with specific flakes. - Those should provide libraries and template for development projects. + Those should provide libraries and template. Update ------ @@ -102,11 +102,6 @@ Todos * 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. * Maybe PR upstream: `./home/modules/programs/languagetool.nix`.