Add flake with templates #1

Open
abonerib wants to merge 1 commits from abonerib/devshell:add-template into main
First-time contributor
# list templates:
nix flake show  https://jungle.bsc.es/git/abonerib/devshell/archive/add-template.tar.gz

# Create in new directory:
nix flake new --template https://jungle.bsc.es/git/abonerib/devshell/archive/add-template.tar.gz#ompss2 ./ompss2
nix flake new --template https://jungle.bsc.es/git/abonerib/devshell/archive/add-template.tar.gz#cuda ./cuda

# Add to current directory:
nix flake init --template https://jungle.bsc.es/git/abonerib/devshell/archive/add-template.tar.gz#cuda

If we add a devshell to nixPath in jungle machines we could do nix flake init --template devshell#cuda

```bash # list templates: nix flake show https://jungle.bsc.es/git/abonerib/devshell/archive/add-template.tar.gz # Create in new directory: nix flake new --template https://jungle.bsc.es/git/abonerib/devshell/archive/add-template.tar.gz#ompss2 ./ompss2 nix flake new --template https://jungle.bsc.es/git/abonerib/devshell/archive/add-template.tar.gz#cuda ./cuda # Add to current directory: nix flake init --template https://jungle.bsc.es/git/abonerib/devshell/archive/add-template.tar.gz#cuda ``` If we add a devshell to nixPath in jungle machines we could do `nix flake init --template devshell#cuda`
abonerib added 1 commit 2026-02-04 12:19:16 +01:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u add-template:abonerib-add-template
git checkout abonerib-add-template
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rarias/devshell#1