22 lines
457 B
Nix
22 lines
457 B
Nix
{ pkgs, inputs, ... }:
|
|
{
|
|
environment.systemPackages = [
|
|
(pkgs.writeShellApplication {
|
|
name = "nix-install";
|
|
runtimeInputs = with pkgs; [
|
|
coreutils
|
|
iputils
|
|
jq
|
|
nix
|
|
sops
|
|
inputs.disko.packages.${system}.disko
|
|
];
|
|
text = builtins.readFile ./install.sh;
|
|
})
|
|
];
|
|
|
|
home-manager.sharedModules = [
|
|
{ programs.zsh.initContent = builtins.readFile ./install.completion.zsh; }
|
|
];
|
|
}
|