diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-09-06 16:08:07 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-09-06 16:08:07 -0700 |
| commit | e2addeab1a11e6589f56bacec4b045d17f322c19 (patch) | |
| tree | 53647f18d77d882d4898bddff85af21f851278a4 /flake/scripts/default.nix | |
| parent | run my personal website on the droplet (diff) | |
| download | infra-e2addeab1a11e6589f56bacec4b045d17f322c19.tar.gz | |
move things around
Diffstat (limited to '')
| -rw-r--r-- | flake/scripts/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/flake/scripts/default.nix b/flake/scripts/default.nix new file mode 100644 index 0000000..db6febe --- /dev/null +++ b/flake/scripts/default.nix @@ -0,0 +1,15 @@ +{ + pkgs, + system, + inputs, +}: +let + common = import ./common.nix { inherit pkgs; }; + darwin = import ./darwin.nix { inherit pkgs system inputs; }; +in +{ + common = common; + darwin = if pkgs.lib.hasSuffix "darwin" system then darwin else [ ]; + + all = common ++ (if pkgs.lib.hasSuffix "darwin" system then darwin else [ ]); +} |
