- Видео 44
- Просмотров 244 319
nixhero
Индонезия
Добавлен 2 сен 2023
Mostly programming. Mainly nix. Sometimes meme.
Getting Started with Nix Home Manager
In this video, I will show you how to get started with home-manager, how to solve common issues, and I will also show you the downsides of using home-manager. No nix experience is required.
#programming #software #nix #linux
🔗 Resources
Nix Project nixos.org
Home Manager nix-community.github.io/home-manager/
Nix packages search search.nixos.org
Home manager option search home-manager-options.extranix.com
Find specific package version nixhub.io
Install nix on WSL ruclips.net/video/BMn_GWg2Ai0/видео.html
Nix Playlist ruclips.net/p/PLx4RVX7j5duT9AVK1bpkooDAefFhIvRbl
💬 Links
ko-fi.com/nixhero
x.com/nixhero_youtube
📚 Chapters
0:00 Intro
0:21 Table of contents
0:54 Installing home-manager
1:19 Installing Nix
1:4...
#programming #software #nix #linux
🔗 Resources
Nix Project nixos.org
Home Manager nix-community.github.io/home-manager/
Nix packages search search.nixos.org
Home manager option search home-manager-options.extranix.com
Find specific package version nixhub.io
Install nix on WSL ruclips.net/video/BMn_GWg2Ai0/видео.html
Nix Playlist ruclips.net/p/PLx4RVX7j5duT9AVK1bpkooDAefFhIvRbl
💬 Links
ko-fi.com/nixhero
x.com/nixhero_youtube
📚 Chapters
0:00 Intro
0:21 Table of contents
0:54 Installing home-manager
1:19 Installing Nix
1:4...
Просмотров: 6 524
Видео
Getting started with Nix Home Manager in Windows (WSL)
Просмотров 3,2 тыс.4 месяца назад
0:00 Intro 0:15 What is home manager 1:10 Home manager installation on multiple platforms 2:02 Start installing home manager 2:38 `nix shell` command 4:14 Initialize home-manager 5:03 What are flake.nix and home.nix 7:28 Activate the configuration 8:18 Install neofetch 9:15 Install starship 12:46 Initialize as git repository 12:52 Install neovim 14:48 Separate the configuration into multiple fi...
Can we use Nix without NixOS?
Просмотров 2,4 тыс.4 месяца назад
0:00 Can we use Nix without NixOS? 0:25 Installing WSL 1:00 Installing nix 1:19 The Determinate Nix Installer 1:48 My nix usecases 2:08 What's coming next In this video, I explore how to use Nix independently of NixOS. I demonstrate that Nix is a versatile program compatible with various platforms like Ubuntu, MacOS, and even WSL on Windows. I provide a detailed walkthrough on installing Nix on...
Custom Shell Script in NixOS ??
Просмотров 8105 месяцев назад
We know we can install packages declaratively in NixOS. It's easy especially for packages already available in nixpkgs github repository. But what if we want to install our own shell script? Let's explore `writeShellScriptBin` and `writeShellApplication` function from nixpkgs. We will also learn how to distribute the package using flake.nix. #programming #software #shellscripting #linux
Grand Theft Automata IV Loading Screen HD
Просмотров 4685 месяцев назад
Grand Theft Automata IV Loading Screen HD
Discord + GitHub = Notification System
Просмотров 1 тыс.5 месяцев назад
Discord GitHub = Notification System
SSH Public Key Authentication for Busy People
Просмотров 2,5 тыс.6 месяцев назад
SSH Public Key Authentication for Busy People
Git Branch Protection in 100 seconds
Просмотров 1,6 тыс.8 месяцев назад
Git Branch Protection in 100 seconds
Making Minimalist Git HTTP Server
Просмотров 3,4 тыс.9 месяцев назад
Making Minimalist Git HTTP Server
Download anything with nix using fetchurl function
Просмотров 42911 месяцев назад
Download anything with nix using fetchurl function
Generate Image with Nix + Imagemagick
Просмотров 33711 месяцев назад
Generate Image with Nix Imagemagick
Hello World Nix derivation using Nix Flakes [nix build]
Просмотров 31211 месяцев назад
Hello World Nix derivation using Nix Flakes [nix build]
Faster browsing with Qutebrowser's search engine config (with nix + home-manager)
Просмотров 752Год назад
Faster browsing with Qutebrowser's search engine config (with nix home-manager)
one other way is using the github:nix-community/nixos-wsl which is what i do :3
Can you use Nix without being a communist?
Hey, do you know if you try to do this over http in a local process whether you still have to pay the TCP tax as you now have a network stack or is it smart enough to avoid it for interprocess comms??
Where is John Carmack? Bjarne Stroustrup? We could go on 🙂👍
😭😭😭😭
1:13 had me suprised!
Wont ever use it due to insane far leftists devs censoring other devs, hijacking the project from its creator, and it should have been neutral because linux is for everyone not just angry HRT abusers
mantap, keren bang!
The Best Explanation... Thank you very much sir
GOAT
In reference to 8:05, is there documentation to find the settings options for program.name { settings = { HERE}}; };
Yo, you crushed it! For real, on your first go, this was fire, and no cap, the tutorial's flow is sick - mad easy to take in all the info you dropped in the vid.
This is a bit misleading ... Nix only works in WSL mode in Windows which will obviously limit what it can do. It cant be used to install native Windows applications, it's just running inside the linux subsystem.
and soon, hopefully we'll have nix running natively on windows. i think nix itself (not nixpkgs) already works on windows as a PE executable, don't quote me on that though.
nixhero you are my hero. Thank you very much!!!
Thank you so much
I don't use nix but i have guix installed which gives me access to nix packages on debian.
How does Guix give Nix packages? And why can't Nix work on Debian?
@jyothishkumar3098 Nix packages are packed different and nix works completely different. Guix like all packages managers knows how to install nix packages. You can install guix standalone or there is installer so you can install it on any supported distro. Nix is linux anyway.
It can @@jyothishkumar3098
for config a server why not Terraform but Nix or am I missing something ?
can you use nix to install and run docker inside of an unprivileged docker container, like DinD, but rootless, no user space or namespace nor other privileges granted, just like you were running it in a AWS ECS Fargate task? I'm trying to achieve that on a Oracle Linux 8 base image that uses microdnf as package manager. Hence why I thought of installing nix. 🤞
how? steps?
while nix os depends on nix, nix doesn't depend on nix os. did you really need to say that?
Kok gitu bang
I had to use `$ nix --extra-experimental-features flakes --extra-experimental-features nix-command run home-manager -- init --switch .`
Great video!
Still dont understand. Nix would replace package manager, right?
Thank you very much. I finally understand how to source control and use home-manager on my wsl linstalls ! You are a hero.
Thank you!!! Finally a nix tutorial that makes sense.
Best intro I seen online
"i am the one with actual job opennigs" lol
i need another computer bad! any of you guys have a suggest for an install guide for a server maybe? or like a minimal install does this even make sense with nix?
Low cost setup is buying a HP EliteDesk 800 and then run proxmox on it. You can have many virtual machines at a time and it's a game changer. Including running NixOS and any other OS.
@@zeroxclem dang thanks bro! that is a damn good suggest actually idk i could get thar with 16gb ram for $100
@@comosaycomosah Proxmox is sooo good. You can test stuff like different operating systems and easily delete or rollback if you destroy something. you can also test tools like ansible and terraform which are used widely in IT.
@@comosaycomosah You might even want to look for a used laptop, bc of power consumption, if thats of concern to you
Nix is an Arch without fanboys
NixHero, do you have any plans to also have a "Get Started with Nix Flakes" video? That would be awesome.
Please, I want to be a member of your channel, through this video I was able to understand and use Flake + home manager, thank you
Please, I want to be a member of your channel, through this video I was able to understand and use Flake + home manager, thank you
A very poor explanation ! before explaining "how" you need to explain "what" & "why"
He did a great job!
If you can't practice searching about NixOS by yourself you shouldn't be using it in the first place
Imo, the question should have been "Why do i use Nix on all of my machines" lol
semangat bang! u got new subs
I didn’t know this. I need to check this out! Thank you for sharing
what about arch linux?
What does it had to do with Nix?
Kind of redundant to use nix on arch, when you already have the aur, but yes it should work.
wsl is libtards
Your channel name is not a joke... like NOT AT ALL! You are the true Nix Hero. I can't wait for your video to configure neovim.
How to setup to open shell as zsh as default not bash?
I would also like to know this. This seems trivial, but I struggle to get it to work.
@@BramHarmsen yeah... I know what you mean... I guessed that I found, but not work property. I'm still working on it. At sessionVariables I've tried this line. SHELL = "/home/ubuntu/.nix-profile/bin/zsh"; But it is not perfect yet.
@@WaldirBorbaJunior Thanks will try that. I'm just surprised that its so hard to find this information. I'm running NixOS in a virtual machine to learn how it works. The main issues is that home-manager runs under your user while you need root/sudo to actually change the shell I guess. You can change the shell with the /etc/nixos/configuration.nix. But than you can't seem to manage the shell with home-manager anymore?
Show... rewrite my configs modules. Thanks for this class. Perfect now I understand some bugs that I made at my old config :)
Wow, it is so hard to come by Nix tutorials, which are not thoroughly cryptic. Thank you nixhero!
thats a banger thumbnail
Please remake this video, but for dummies. And I mean DUMMIES! I think I am stupid. I am really struggling with this whole derivation/nix language/flakes/pkgs-vs-packages-vs-nixpkgs/etc. It just won't click in my head. What even is a "derivation"? Why are there so many package-stuff-variants? What calls the "outputs" function? And what is given as the nixpkgs argument? Why is "legacyPackages" referenced from the argument, but then inside the "in" there is also "packages.x86_64-linux" - where does that even come from?? What is "self"? etc etc
Wow, thorough as heck. Nice job!
thanks a lot. you are truly living up to your name.
thanks hero
aint arch like hard