aboutsummaryrefslogtreecommitdiff
path: root/flake/scripts/default.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-11-02 14:20:57 -0800
committerFranck Cuny <franck@fcuny.net>2025-11-02 14:20:57 -0800
commit9fa94af7140afb7c9fcced8aa1fb20abb81c5955 (patch)
tree74a2b33354d3cd15aa58fd7be7d33c8cc550c463 /flake/scripts/default.nix
parentcleanup nixos related configurations (diff)
downloadinfra-9fa94af7140afb7c9fcced8aa1fb20abb81c5955.tar.gz
add helpers to build remotely with nixos
Diffstat (limited to 'flake/scripts/default.nix')
-rw-r--r--flake/scripts/default.nix4
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 [ ]);
}