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