home/shell: add aliases for ofborg evals

This commit is contained in:
Oystein Kristoffer Tveit 2023-10-06 17:16:38 +02:00
parent 9038f3ea54
commit 5a2e34b89e
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 33 additions and 0 deletions

View File

@ -90,6 +90,39 @@ in {
hms = toString inputs.nix-attr-search.packages.${pkgs.system}.home-manager-search;
nxo = toString inputs.nix-attr-search.packages.${pkgs.system}.nix-option-search;
# TODO: does this need to be a function?
# ofborg-build = {};
ofborg-nixos-eval = {
type = " ";
alias = [
"HOME=/homeless-shelter"
"NIX_PATH=ofborg-nixpkgs-pr=$(pwd)"
"nix-instantiate"
"./nixos/release.nix"
"-A manual"
"--option restrict-eval true"
"--option build-timeout 1800"
"--argstr system ${pkgs.system}"
"--show-trace"
];
};
ofborg-pkgs-eval = {
type = " ";
alias = [
"HOME=/homeless-shelter"
"NIX_PATH=ofborg-nixpkgs-pr=$(pwd)"
"nix-instantiate"
"./pkgs/top-level/release.nix"
"-A manual"
"--option restrict-eval true"
"--option build-timeout 1800"
"--argstr system ${pkgs.system}"
"--show-trace"
];
};
};
# ░█▀▀░█░█░█▀▀░▀█▀░█▀▀░█▄█░█▀▄