diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-11-02 14:20:57 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-11-02 14:20:57 -0800 |
| commit | 9fa94af7140afb7c9fcced8aa1fb20abb81c5955 (patch) | |
| tree | 74a2b33354d3cd15aa58fd7be7d33c8cc550c463 /flake/scripts/default.nix | |
| parent | cleanup nixos related configurations (diff) | |
| download | infra-9fa94af7140afb7c9fcced8aa1fb20abb81c5955.tar.gz | |
add helpers to build remotely with nixos
Diffstat (limited to '')
| -rw-r--r-- | flake/scripts/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/flake/scripts/default.nix b/flake/scripts/default.nix index db6febe..6b16e75 100644 --- a/flake/scripts/default.nix +++ b/flake/scripts/default.nix @@ -6,10 +6,12 @@ let common = import ./common.nix { inherit pkgs; }; darwin = import ./darwin.nix { inherit pkgs system inputs; }; + remote = import ./remote.nix { inherit pkgs system inputs; }; in { common = common; + remote = remote; darwin = if pkgs.lib.hasSuffix "darwin" system then darwin else [ ]; - all = common ++ (if pkgs.lib.hasSuffix "darwin" system then darwin else [ ]); + all = common ++ remote ++ (if pkgs.lib.hasSuffix "darwin" system then darwin else [ ]); } |
