fixed opencode pasting on oren
This commit is contained in:
parent
de6ce3c7db
commit
e2382fa1a9
6 changed files with 96 additions and 41 deletions
27
flakes/opencode/flake.nix
Normal file
27
flakes/opencode/flake.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
inputs = {
|
||||
opencode.url = "github:sst/opencode";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ opencode, ... }:
|
||||
{
|
||||
nixosModules = {
|
||||
default =
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
opencode.packages.${pkgs.system}.default
|
||||
];
|
||||
|
||||
environment.shellAliases = {
|
||||
"oc" = "all_proxy='' http_proxy='' https_proxy='' opencode";
|
||||
"occ" = "oc -c";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue