2024-12-12 14:41:43 +01:00
|
|
|
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
|
2023-06-08 10:20:55 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
installScript = pkgs.writeShellApplication {
|
|
|
|
name = "dgn-install";
|
|
|
|
|
|
|
|
runtimeInputs = with pkgs; [
|
|
|
|
coreutils
|
|
|
|
gnused
|
|
|
|
nixos-install-tools
|
|
|
|
zfs
|
|
|
|
];
|
|
|
|
|
|
|
|
text = builtins.readFile ./dgn-install.sh;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
|
|
|
|
{
|
|
|
|
environment.systemPackages = [ installScript ];
|
|
|
|
}
|