Initial commit

This commit is contained in:
2024-03-17 17:33:12 +01:00
commit c56d09816f
24 changed files with 564 additions and 0 deletions

20
simple-shell/README.md Normal file
View File

@ -0,0 +1,20 @@
# shell
## Usage
```sh
> nix-shell shell.nix --command "cowsay hey"
_____
< hey >
-----
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
> nix-shell shell2.nix --command "nvim --version"
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1693350652
```

7
simple-shell/shell.nix Normal file
View File

@ -0,0 +1,7 @@
with
import <nixpkgs> {};
mkShell {
packages = [
cowsay
];
}

9
simple-shell/shell2.nix Normal file
View File

@ -0,0 +1,9 @@
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
mkShell
{
packages = [
neovim
];
}