diff options
| author | adikro <adikro@disroot.org> | 2026-02-12 19:36:41 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-02-12 19:36:41 +0100 |
| commit | 9868584ddabad45a9964ae9bf64d109963fd1e3d (patch) | |
| tree | 4bad8146b5c3350f7c0c17c4764885cc11637b35 /scripts/default.nix | |
| parent | 1ff6f0eb48961e6482ec1b7d0dd9b606e85ddc79 (diff) | |
added install scripts
Diffstat (limited to 'scripts/default.nix')
| -rw-r--r-- | scripts/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/scripts/default.nix b/scripts/default.nix new file mode 100644 index 0000000..983216d --- /dev/null +++ b/scripts/default.nix @@ -0,0 +1,33 @@ +{ pkgs }: +let + commonInputs = with pkgs; [ + git + gnupg + sops + nix + coreutils + util-linux + nixos-facter + ]; +in +{ + install = pkgs.writeShellApplication { + name = "nixos-install"; + runtimeInputs = commonInputs ++ [ pkgs.disko-install ]; + text = builtins.readFile ./install.sh; + }; + + setup = pkgs.writeShellApplication { + name = "nixos-setup"; + runtimeInputs = + commonInputs + ++ (with pkgs; [ + ssh-to-age + ripgrep + sd + nh + fd + ]); + text = builtins.readFile ./setup.sh; + }; +} |
