diff --git a/templates/go-fyne-shell/.envrc b/templates/go-fyne-shell/.envrc new file mode 100644 index 0000000..1d953f4 --- /dev/null +++ b/templates/go-fyne-shell/.envrc @@ -0,0 +1 @@ +use nix diff --git a/templates/go-fyne-shell/shell.nix b/templates/go-fyne-shell/shell.nix new file mode 100644 index 0000000..4934c30 --- /dev/null +++ b/templates/go-fyne-shell/shell.nix @@ -0,0 +1,22 @@ +{ pkgs ? import { } }: +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 + ]; +} diff --git a/templates/shell/.envrc b/templates/shell/.envrc new file mode 100644 index 0000000..4a4726a --- /dev/null +++ b/templates/shell/.envrc @@ -0,0 +1 @@ +use_nix diff --git a/templates/shell/shell.nix b/templates/shell/shell.nix new file mode 100644 index 0000000..ef196b0 --- /dev/null +++ b/templates/shell/shell.nix @@ -0,0 +1,8 @@ +{ pkgs ? import { } }: +pkgs.mkShell { + shellHook = '' + PS1='\u@\h:\w; ' + ''; + buildInputs = with pkgs; [ + ]; +}