From 9868584ddabad45a9964ae9bf64d109963fd1e3d Mon Sep 17 00:00:00 2001 From: adikro Date: Thu, 12 Feb 2026 19:36:41 +0100 Subject: added install scripts --- scripts/default.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 scripts/default.nix (limited to 'scripts/default.nix') 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; + }; +} -- cgit v1.3