nixhero
nixhero
  • Видео 44
  • Просмотров 244 319
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...
Просмотров: 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
Never Clone Big Repo Again
Просмотров 7105 месяцев назад
Never Clone Big Repo Again
Can we install NixOS on any VPS?
Просмотров 2,6 тыс.5 месяцев назад
Can we install NixOS on any VPS?
SSH Public Key Authentication for Busy People
Просмотров 2,5 тыс.6 месяцев назад
SSH Public Key Authentication for Busy People
The SSH flag you never used
Просмотров 35 тыс.6 месяцев назад
The SSH flag you never used
Lobotomy Kaisen: React.js
Просмотров 1,3 тыс.6 месяцев назад
Lobotomy Kaisen: React.js
Unix Job Control in 100 seconds
Просмотров 1,3 тыс.6 месяцев назад
Unix Job Control in 100 seconds
Javascript Mewing
Просмотров 1,9 тыс.8 месяцев назад
Javascript Mewing
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
Unix Named Pipe in 100 seconds
Просмотров 7 тыс.9 месяцев назад
Unix Named Pipe in 100 seconds
Unix Socket HTTP in 100 seconds
Просмотров 7 тыс.9 месяцев назад
Unix Socket HTTP in 100 seconds
Unix Domain Socket in 100 seconds
Просмотров 60 тыс.9 месяцев назад
Unix Domain Socket in 100 seconds
You might not need HTTP
Просмотров 9 тыс.9 месяцев назад
You might not need HTTP
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)

Комментарии

  • @Omaaar-e7o
    @Omaaar-e7o День назад

    one other way is using the github:nix-community/nixos-wsl which is what i do :3

  • @einzelltuter2847
    @einzelltuter2847 4 дня назад

    Can you use Nix without being a communist?

  • @dandogamer
    @dandogamer 6 дней назад

    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??

  • @ugood
    @ugood 7 дней назад

    Where is John Carmack? Bjarne Stroustrup? We could go on 🙂👍

  • @oabragh
    @oabragh 7 дней назад

    😭😭😭😭

  • @anonymousXYZ659
    @anonymousXYZ659 12 дней назад

    1:13 had me suprised!

  • @folkishappalachian6827
    @folkishappalachian6827 13 дней назад

    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

  • @radhhhhh
    @radhhhhh 17 дней назад

    mantap, keren bang!

  • @AnantaAkash.Podder
    @AnantaAkash.Podder 19 дней назад

    The Best Explanation... Thank you very much sir

  • @sadaisystems
    @sadaisystems 20 дней назад

    GOAT

  • @Eschguy
    @Eschguy 26 дней назад

    In reference to 8:05, is there documentation to find the settings options for program.name { settings = { HERE}}; };

  • @victorbandeirastevanin8348
    @victorbandeirastevanin8348 28 дней назад

    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.

  • @ht-dar
    @ht-dar 28 дней назад

    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.

  • @aemogie
    @aemogie 29 дней назад

    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.

  • @YounessMellouki-e7u
    @YounessMellouki-e7u 29 дней назад

    nixhero you are my hero. Thank you very much!!!

  • @dimentyy
    @dimentyy Месяц назад

    Thank you so much

  • @raughboy188
    @raughboy188 Месяц назад

    I don't use nix but i have guix installed which gives me access to nix packages on debian.

    • @jyothishkumar3098
      @jyothishkumar3098 22 дня назад

      How does Guix give Nix packages? And why can't Nix work on Debian?

    • @raughboy188
      @raughboy188 22 дня назад

      @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.

    • @sachinchaudhary1310
      @sachinchaudhary1310 6 дней назад

      It can ​@@jyothishkumar3098

  • @GreatTaiwan
    @GreatTaiwan Месяц назад

    for config a server why not Terraform but Nix or am I missing something ?

  • @arminanton8165
    @arminanton8165 Месяц назад

    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. 🤞

  • @arminanton8165
    @arminanton8165 Месяц назад

    how? steps?

  • @chuckdevdevdev
    @chuckdevdevdev Месяц назад

    while nix os depends on nix, nix doesn't depend on nix os. did you really need to say that?

  • @hdkdksoejsnkusj
    @hdkdksoejsnkusj Месяц назад

    Kok gitu bang

  • @JanDahl
    @JanDahl Месяц назад

    I had to use `$ nix --extra-experimental-features flakes --extra-experimental-features nix-command run home-manager -- init --switch .`

  • @BaiDamqn
    @BaiDamqn Месяц назад

    Great video!

  • @muizzyranking
    @muizzyranking Месяц назад

    Still dont understand. Nix would replace package manager, right?

  • @BonBaisers
    @BonBaisers Месяц назад

    Thank you very much. I finally understand how to source control and use home-manager on my wsl linstalls ! You are a hero.

  • @elianmanzueta9240
    @elianmanzueta9240 Месяц назад

    Thank you!!! Finally a nix tutorial that makes sense.

  • @po6577
    @po6577 Месяц назад

    Best intro I seen online

  • @alpercelik6591
    @alpercelik6591 Месяц назад

    "i am the one with actual job opennigs" lol

  • @comosaycomosah
    @comosaycomosah 2 месяца назад

    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?

    • @zeroxclem
      @zeroxclem 14 дней назад

      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.

    • @comosaycomosah
      @comosaycomosah 13 дней назад

      @@zeroxclem dang thanks bro! that is a damn good suggest actually idk i could get thar with 16gb ram for $100

    • @Loik948
      @Loik948 9 дней назад

      @@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.

    • @manto4479
      @manto4479 9 дней назад

      ​@@comosaycomosah You might even want to look for a used laptop, bc of power consumption, if thats of concern to you

  • @fabricio4794
    @fabricio4794 2 месяца назад

    Nix is an Arch without fanboys

  • @gueyenono
    @gueyenono 2 месяца назад

    NixHero, do you have any plans to also have a "Get Started with Nix Flakes" video? That would be awesome.

  • @BrainFuck._
    @BrainFuck._ 2 месяца назад

    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

  • @BrainFuck._
    @BrainFuck._ 2 месяца назад

    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

  • @khanra17
    @khanra17 2 месяца назад

    A very poor explanation ! before explaining "how" you need to explain "what" & "why"

    • @gueyenono
      @gueyenono 2 месяца назад

      He did a great job!

    • @normalhumanbeing6066
      @normalhumanbeing6066 22 дня назад

      If you can't practice searching about NixOS by yourself you shouldn't be using it in the first place

  • @brunekxxx91
    @brunekxxx91 2 месяца назад

    Imo, the question should have been "Why do i use Nix on all of my machines" lol

  • @mrbananaaa69
    @mrbananaaa69 2 месяца назад

    semangat bang! u got new subs

  • @eXsoR65
    @eXsoR65 2 месяца назад

    I didn’t know this. I need to check this out! Thank you for sharing

  • @Anonymous-pm3qz
    @Anonymous-pm3qz 2 месяца назад

    what about arch linux?

    • @casadogaspar
      @casadogaspar Месяц назад

      What does it had to do with Nix?

    • @Skelterbane69
      @Skelterbane69 28 дней назад

      Kind of redundant to use nix on arch, when you already have the aur, but yes it should work.

  • @gustavojoaquin_arch
    @gustavojoaquin_arch 2 месяца назад

    wsl is libtards

  • @gueyenono
    @gueyenono 2 месяца назад

    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.

  • @WaldirBorbaJunior
    @WaldirBorbaJunior 2 месяца назад

    How to setup to open shell as zsh as default not bash?

    • @BramHarmsen
      @BramHarmsen 2 месяца назад

      I would also like to know this. This seems trivial, but I struggle to get it to work.

    • @WaldirBorbaJunior
      @WaldirBorbaJunior 2 месяца назад

      @@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.

    • @BramHarmsen
      @BramHarmsen 2 месяца назад

      @@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?

  • @WaldirBorbaJunior
    @WaldirBorbaJunior 2 месяца назад

    Show... rewrite my configs modules. Thanks for this class. Perfect now I understand some bugs that I made at my old config :)

  • @gueyenono
    @gueyenono 2 месяца назад

    Wow, it is so hard to come by Nix tutorials, which are not thoroughly cryptic. Thank you nixhero!

  • @honeyfuntime
    @honeyfuntime 2 месяца назад

    thats a banger thumbnail

  • @intermarer9145
    @intermarer9145 2 месяца назад

    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

  • @dharmaturtle
    @dharmaturtle 2 месяца назад

    Wow, thorough as heck. Nice job!

  • @hsthast7183
    @hsthast7183 2 месяца назад

    thanks a lot. you are truly living up to your name.

  • @TheSast
    @TheSast 2 месяца назад

    thanks hero

  • @nito8066
    @nito8066 3 месяца назад

    aint arch like hard