diff options
| author | seth <[email protected]> | 2023-07-27 18:12:14 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-07-27 18:18:32 -0400 |
| commit | a7db5aaf8895e97dc41c38b3329e89e59367a2a5 (patch) | |
| tree | 61678176b05ad5b33ced4a5e5f2e8ad708fff201 | |
| parent | a8ca7e997f9cc657200b3a847035161460861458 (diff) | |
ci: expose home configurations in packages
| -rw-r--r-- | garnix.yaml | 2 | ||||
| -rw-r--r-- | users/default.nix | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/garnix.yaml b/garnix.yaml index b4cd627..1dfd293 100644 --- a/garnix.yaml +++ b/garnix.yaml @@ -4,4 +4,4 @@ builds: - "checks.x86_64-linux.*" - "devShells.x86_64-linux.default" - "nixosConfigurations.*" - - "homeConfigurations.x86_64-linux.*" + - "packages.x86_64-linux.seth" diff --git a/users/default.nix b/users/default.nix index 3ac811e..1f4f216 100644 --- a/users/default.nix +++ b/users/default.nix @@ -1,10 +1,12 @@ { inputs, myLib, + self, ... }: { perSystem = {system, ...}: let inherit (myLib.configs inputs) mkHMUsers; + ci = myLib.ci [system]; in { homeConfigurations = mkHMUsers { seth = { @@ -15,5 +17,7 @@ modules = [{_module.args.osConfig = {};}]; }; }; + + packages = (ci.mkCompatibleHM self.homeConfigurations).${system}; }; } |
