templates: add various shell templates I commonly use
This commit is contained in:
parent
5fd848053c
commit
cdc4042834
1
templates/go-fyne-shell/.envrc
Normal file
1
templates/go-fyne-shell/.envrc
Normal file
@ -0,0 +1 @@
|
||||
use nix
|
22
templates/go-fyne-shell/shell.nix
Normal file
22
templates/go-fyne-shell/shell.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
pkgs.mkShell {
|
||||
shellHook = ''
|
||||
export NO_COLOR=true
|
||||
export PS1="\u@\h:\w; "
|
||||
'';
|
||||
|
||||
nativeBuildInputs = with pkgs.buildPackages; [
|
||||
alsa-lib
|
||||
glfw
|
||||
go
|
||||
libxkbcommon
|
||||
pkg-config
|
||||
wayland
|
||||
xorg.libXcursor
|
||||
xorg.libXi
|
||||
xorg.libXinerama
|
||||
xorg.libXrandr
|
||||
xorg.libXxf86vm
|
||||
xorg.xinput
|
||||
];
|
||||
}
|
1
templates/shell/.envrc
Normal file
1
templates/shell/.envrc
Normal file
@ -0,0 +1 @@
|
||||
use_nix
|
8
templates/shell/shell.nix
Normal file
8
templates/shell/shell.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
pkgs.mkShell {
|
||||
shellHook = ''
|
||||
PS1='\u@\h:\w; '
|
||||
'';
|
||||
buildInputs = with pkgs; [
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user