From 626636985bcb038af6bf14830f3f304bbda0c9ad Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 9 Jul 2024 06:15:30 -0400 Subject: systems+users: link to lib/builders.nix --- systems/darwin.nix | 1 + systems/nixinate.nix | 4 ++++ systems/nixos.nix | 1 + 3 files changed, 6 insertions(+) (limited to 'systems') 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 { -- cgit v1.2.3