diff options
| author | seth <[email protected]> | 2024-07-09 06:15:30 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-07-09 15:38:51 -0400 |
| commit | 626636985bcb038af6bf14830f3f304bbda0c9ad (patch) | |
| tree | 176c50d6e084664c59bfaf26c4c8901216428bb6 | |
| parent | dcf455b299342c52d17bf73e1046898094a99adf (diff) | |
systems+users: link to lib/builders.nix
| -rw-r--r-- | systems/darwin.nix | 1 | ||||
| -rw-r--r-- | systems/nixinate.nix | 4 | ||||
| -rw-r--r-- | systems/nixos.nix | 1 | ||||
| -rw-r--r-- | users/default.nix | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/systems/darwin.nix b/systems/darwin.nix index a1b91f3..ec67d09 100644 --- a/systems/darwin.nix +++ b/systems/darwin.nix @@ -3,6 +3,7 @@ flake = { darwinConfigurations = let + # see ./lib/builders.nix inherit (self.lib) darwinSystem; in { diff --git a/systems/nixinate.nix b/systems/nixinate.nix index 0c54e9c..b67cea3 100644 --- a/systems/nixinate.nix +++ b/systems/nixinate.nix @@ -3,6 +3,10 @@ perSystem = { system, ... }: { + # as opposed to having system specific outputs like `apps.nixinate.mySystem` + # we can instantiate this for each system and grab it's final attribute, `nixinate` + # + # this lets deployments be as easy as `nix run .#mySystem` apps = (inputs.nixinate.nixinate.${system} self).nixinate; }; } diff --git a/systems/nixos.nix b/systems/nixos.nix index 2cd9b31..b2a973e 100644 --- a/systems/nixos.nix +++ b/systems/nixos.nix @@ -3,6 +3,7 @@ flake = { nixosConfigurations = let + # see ./lib/builders.nix inherit (self.lib) nixosSystem nixosSystemStable; in { diff --git a/users/default.nix b/users/default.nix index 671ce14..6ead5c3 100644 --- a/users/default.nix +++ b/users/default.nix @@ -2,7 +2,9 @@ { flake.homeConfigurations = let + # see ./lib/builders.nix inherit (self.lib) homeManagerConfiguration; + pkgsFor = system: withSystem system ({ pkgs, ... }: pkgs); in { |
