forked from DGNum/lab-infra
20 lines
310 B
Nix
20 lines
310 B
Nix
{ 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 ];
|
|
}
|