start of a WIP rebuild app

This commit is contained in:
Noah Masur 2022-11-27 13:10:22 -07:00
parent 13e5b9ddc5
commit d86534727e

View File

@ -8,6 +8,15 @@
# Display the readme for this repository # Display the readme for this repository
readme = import ./readme.nix { inherit pkgs; }; readme = import ./readme.nix { inherit pkgs; };
# Rebuild
rebuild = {
type = "app";
program = builtins.toString (pkgs.writeShellScript "rebuild" ''
echo ${pkgs.system}
echo ${if pkgs.stdenv.isDarwin then "darwin" else "linux"}
'');
};
# Load the SSH key for this machine # Load the SSH key for this machine
loadkey = import ./loadkey.nix { inherit pkgs; }; loadkey = import ./loadkey.nix { inherit pkgs; };