Welcome to the 12th video in our NixOS configuration series! In this episode, we'll dive into creating a custom package for a ZelliJ project launcher script. We'll demonstrate how to fetch source code from a Git repository and build a self-contained package with all necessary dependencies.
Please clone the Git-Repo to follow along: https://code.m3tam3re.com/m3tam3re/ni...
You can find the script I am using here:
https://code.m3tam3re.com/m3tam3re/he...
This script is strongly inspired by the Tmux Sessionizer of @ThePrimeagen
• My Developer Workflow - How I use i3,...
https://github.com/ThePrimeagen/.dotf...
⏱ Timeline:
00:00 Introduction
02:25 Creating a Basic Package for ZelliJ
03:19 Defining the Package Structure
04:43 Fetching Source Code from Git
06:32 Building and Installing the Package
09:32 Testing the Script in Virtual Machine
11:43 Conclusion and Next Steps
🔧 What You'll Learn in This Video:
✓ Creating a custom package in NixOS
✓ Fetching source code from a Git repository
✓ Defining package dependencies and build inputs
✓ Wrapping programs with required runtime dependencies
✓ Testing and using the custom package
📋 Prerequisites:
✓ Basic understanding of NixOS and Nix flakes
✓ Familiarity with shell scripting
🔗 Useful Links:
NixOS Official Website: https://nixos.org/
NixOS Manual: https://nixos.org/manual/nixos/stable/
👀 Upcoming Tutorial:
Creating a Home Manager module for the custom package
🔔 Don't Forget to Subscribe for more NixOS configuration tutorials and tips.
👍 Like this video if you find it helpful. Your support encourages me to create more insightful tutorials.
🤝 Connect With Me:
Sign Up for My Newsletter: https://www.m3tam3re.com
Read My Blog: https://www.m3tam3re.com
All my Links: https://links.m3tam3re.com/
🤗 Your Support:
Your enthusiasm drives a community eager to explore and master NixOS and system configuration.
🌐 Spread the Wisdom:
Share this channel with anyone interested in advanced system management and NixOS configuration.
💡 Community Growth:
Each interaction helps grow a community dedicated to learning and leveraging cutting-edge operating system technology!
#NixOS #PackageManagement #SystemConfiguration #ZelliJ #TechTutorial #Linux #Flakes #OpenSource
Watch video Rebuilding my NixOS config - Part 12: Packaging a Script in NixOS - Zellij Project Switcher online without registration, duration hours minute second in high quality. This video was added by user Sascha Koenig 05 October 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 28 once and liked it 1 people.