Vimjoyer
Vimjoyer
  • 47
  • 1 537 931
Make Your Code Better With Pipes
Discord server: discord.gg/AqHbaeK43b
Donations: ko-fi.com/vimjoyer
Donations: buymeacoffee.com/vimjoyer
A video about nix language and the new pipe operator.
มุมมอง: 6 884

วีดีโอ

Easiest Way To Write Nix | Code Editor Setup
มุมมอง 10K28 วันที่ผ่านมา
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/Vimjoyer/. You’ll also get 20% off an annual premium subscription. Discord server: discord.gg/AqHbaeK43b Donations: ko-fi.com/vimjoyer Donations: buymeacoffee.com/vimjoyer code from the video: github.com/vimjoyer/nix-editor-setup-video This video was sponsored by Brilliant.
Nix(OS) Ecosystem Explained
มุมมอง 12Kหลายเดือนก่อน
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/Vimjoyer/. You’ll also get 20% off an annual premium subscription. Discord server: discord.gg/AqHbaeK43b Donations: ko-fi.com/vimjoyer Donations: buymeacoffee.com/vimjoyer This video was sponsored by Brilliant.
Best Way To Manage Project Dependencies | Nix Shells
มุมมอง 17K2 หลายเดือนก่อน
Discord server: discord.gg/AqHbaeK43b Donations: ko-fi.com/vimjoyer Donations 2: buymeacoffee.com/vimjoyer code from the video: github.com/vimjoyer/shells2-video flake video: th-cam.com/video/JCeYq72Sko0/w-d-xo.html
Effortless Minecraft Servers on NixOS | Simple Declarative Setup
มุมมอง 10K3 หลายเดือนก่อน
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/Vimjoyer/. You’ll also get 20% off an annual premium subscription. Discord server: discord.gg/AqHbaeK43b Donations: ko-fi.com/vimjoyer Donations 2: buymeacoffee.com/vimjoyer code from the video: github.com/vimjoyer/nixos-minecraft-server-video Also, available on: journix.dev/posts/effortless-minecraft-servers-...
Customize Nix Packages | Gentoo Experience on NixOS
มุมมอง 10K3 หลายเดือนก่อน
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/Vimjoyer/. You’ll also get 20% off an annual premium subscription. Discord server: discord.gg/AqHbaeK43b Donations: ko-fi.com/vimjoyer Donations 2: buymeacoffee.com/vimjoyer code from the video: github.com/vimjoyer/overrides-overlays-video This video was sponsored by Brilliant.
Ultimate Nix Flakes Guide
มุมมอง 31K4 หลายเดือนก่อน
Discord server: discord.gg/AqHbaeK43b Support the channel: ko-fi.com/vimjoyer Nix flakes wiki: wiki.nixos.org/wiki/Flakes Flake URL syntax examples: nix.dev/manual/nix/2.18/command-ref/new-cli/nix3-flake.html#flake-references more code coming soon, I'm going to sleep now
Scripts In Any Language With Nix Writers | NixOS Builders & Writers
มุมมอง 14K4 หลายเดือนก่อน
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/Vimjoyer/. You’ll also get 20% off an annual premium subscription. Discord server: discord.gg/AqHbaeK43b Donations: ko-fi.com/vimjoyer Nix writers in nixpkgs: github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/writers/scripts.nix This video was sponsored by Brilliant.
Revolutionize Your Desktop With AGS | Easiest Wayland Widgets
มุมมอง 22K5 หลายเดือนก่อน
Discord server: discord.gg/AqHbaeK43b Donations: ko-fi.com/vimjoyer AGS wiki: aylur.github.io/ags-docs/ AGS examples: github.com/Aylur/ags/tree/main/example/simple-bar libastal: github.com/astal-sh/libastal
Ricing Linux Has Never Been Easier | NixOS + Stylix
มุมมอง 30K6 หลายเดือนก่อน
stylix.enable = true is now required to enable stylix. Discord server: discord.gg/AqHbaeK43b Donations: ko-fi.com/vimjoyer Code text available on journix: journix.dev/posts/ricing-linux-has-never-been-easier-nixos-and-stylix/ Code from the video: github.com/vimjoyer/stylix-video Stylix book: danth.github.io/stylix/options/nixos.html
Is NixOS The Best Gaming Distro | Linux Gaming Setup
มุมมอง 36K6 หลายเดือนก่อน
Discord server: discord.gg/AqHbaeK43b Donations: ko-fi.com/vimjoyer Code from the video: github.com/vimjoyer/nixos-gaming-video
This Program Will Make Your Nix Experience Comfy | NH The Nix Helper
มุมมอง 22K7 หลายเดือนก่อน
Discord server: discord.gg/AqHbaeK43b Donations: ko-fi.com/vimjoyer Code from the video: github.com/vimjoyer/nix-helper-video
[APRIL FOOLS] Top 6 Best NixOS Tips & Tricks
มุมมอง 8K7 หลายเดือนก่อน
Discord server: discord.gg/AqHbaeK43b April fools
Modularize NixOS and Home Manager | Great Practices
มุมมอง 31K7 หลายเดือนก่อน
Discord server: discord.gg/AqHbaeK43b Donations: ko-fi.com/vimjoyer Code from the video: github.com/vimjoyer/modularize-video
Build Your Own NixOS Installer ISO
มุมมอง 10K8 หลายเดือนก่อน
Discord server: discord.gg/AqHbaeK43b Donations: ko-fi.com/vimjoyer Code from the video: github.com/vimjoyer/custom-installer-video
Custom Neovim Code Actions & Diagnostics
มุมมอง 6K8 หลายเดือนก่อน
Custom Neovim Code Actions & Diagnostics
Perfect NixOS | Impermanence Setup
มุมมอง 22K9 หลายเดือนก่อน
Perfect NixOS | Impermanence Setup
Declare Hyprland Config With Nix Home-Manager
มุมมอง 27K9 หลายเดือนก่อน
Declare Hyprland Config With Nix Home-Manager
Nixvim: Neovim Distro Powered By Nix
มุมมอง 32K10 หลายเดือนก่อน
Nixvim: Neovim Distro Powered By Nix
Nix File Fetching | fetchurl and Flakes
มุมมอง 8K10 หลายเดือนก่อน
Nix File Fetching | fetchurl and Flakes
Ultimate NixOS Guide | Flakes | Home-manager
มุมมอง 184K11 หลายเดือนก่อน
Ultimate NixOS Guide | Flakes | Home-manager
The Best Neovim Plugin | Writing Lua Snippets With Luasnip
มุมมอง 15Kปีที่แล้ว
The Best Neovim Plugin | Writing Lua Snippets With Luasnip
NixOS Secrets Management | SOPS-NIX
มุมมอง 22Kปีที่แล้ว
NixOS Secrets Management | SOPS-NIX
Nix Language Explained
มุมมอง 21Kปีที่แล้ว
Nix Language Explained
Custom NIX Home-Manager Modules For Personalized Setup
มุมมอง 10Kปีที่แล้ว
Custom NIX Home-Manager Modules For Personalized Setup
Custom EWW Notification Daemon: Tutorial
มุมมอง 15Kปีที่แล้ว
Custom EWW Notification Daemon: Tutorial
LF + NIX: Simple Setup for Extreme Productivity
มุมมอง 18Kปีที่แล้ว
LF NIX: Simple Setup for Extreme Productivity
Manage Nix Flake Inputs Like a Pro
มุมมอง 12Kปีที่แล้ว
Manage Nix Flake Inputs Like a Pro
Neovim and Nix home-manager: Supercharge Your Development Environment
มุมมอง 30Kปีที่แล้ว
Neovim and Nix home-manager: Supercharge Your Development Environment
Nix-colors Guide | Declaratively Rice Your Linux Desktop
มุมมอง 16Kปีที่แล้ว
Nix-colors Guide | Declaratively Rice Your Linux Desktop

ความคิดเห็น

  •  9 ชั่วโมงที่ผ่านมา

    I love your videos! Very glad to see you have the time and motivation to keep making them.

  • @ThePeri4n
    @ThePeri4n 23 ชั่วโมงที่ผ่านมา

    Absolutely love your videos. Can you give me a hint with which software you are creating the videos?

    • @vimjoyer
      @vimjoyer 18 ชั่วโมงที่ผ่านมา

      I'm using "motion canvas"

  • @quiet_owo
    @quiet_owo วันที่ผ่านมา

    the goat

  • @vinii2815
    @vinii2815 วันที่ผ่านมา

    is there any way to use sops-nix for let's say git email for example? I've been searching for days and I found no other way around except running nixos with a --impure flag

  • @АндрейЧерабаев-э1ь
    @АндрейЧерабаев-э1ь 2 วันที่ผ่านมา

    Finally!

  • @LudwigConnell
    @LudwigConnell 2 วันที่ผ่านมา

    pipenjoyer

  • @aloufin
    @aloufin 2 วันที่ผ่านมา

    this caught me up for a while, accidentally leaving 'pkgs.<item>' on the item... (I liked seeing the word pkgs... lol) # autocomplete DOESNT WORK HERE environment.systemPackages = [ pkgs.home-manager pkgs.cowsay ] but switching to environment.systemPackages = with pkgs; [ home-manager cowsay ] works.....

  • @aloufin
    @aloufin 2 วันที่ผ่านมา

    6:01 references a 'nixpath' step from earlier? when in video is this earlier step?

  • @scuttlecrab8075
    @scuttlecrab8075 2 วันที่ผ่านมา

    Which nix version is required for this operator to be available?

    • @vimjoyer
      @vimjoyer 2 วันที่ผ่านมา

      I'm using the latest version available in the unstable branch for this video

  • @Avec-jv9bh
    @Avec-jv9bh 2 วันที่ผ่านมา

    The feature that I miss the most is adequate errors. I’m not only talking about these atrocious stack traces, the errors are just not pleasant to work with, mostly because of functional nature of nix

  • @doce3609
    @doce3609 2 วันที่ผ่านมา

    This video actually explains pipes the best I have ever seen. Now I act

  • @lomenzel
    @lomenzel 2 วันที่ผ่านมา

    is there an easy way to concat functions? like the haskell . operator?

    • @vimjoyer
      @vimjoyer 2 วันที่ผ่านมา

      not to my knowledge

  • @Familex
    @Familex 2 วันที่ผ่านมา

    wow, when I searched this in 2023 I thought they would never be added

  • @borisoid
    @borisoid 3 วันที่ผ่านมา

    Make your bets, what's gonna be stabilized first: pipes or flakes?

    • @vimjoyer
      @vimjoyer 3 วันที่ผ่านมา

      Hahaha, flakes and stabilized in the same sentence

  • @RichardJActon
    @RichardJActon 3 วันที่ผ่านมา

    mmh love a good pipe operator. Would be nice to see a placeholder syntax as well though. This is why in R I kept using magrittr package's pipe until we got a native placeholder. Can't pipe to a positional argument easily without it. This was simple with magrittr pipe `%>%` and `.` placeholder: `f <- \(x,y){ x / y }; x %>% f(1, .)`. Not as simple with native pipe `|>` when there was no placeholder, now it's `_`.

  • @Scio_
    @Scio_ 3 วันที่ผ่านมา

    Scale-like underscore placeholder parameters next please

  • @phageweb
    @phageweb 3 วันที่ผ่านมา

    amazing video, thank you. What do you use as presentation tool? (very nice), a lot of good work

    • @vimjoyer
      @vimjoyer 3 วันที่ผ่านมา

      I'm using "motion canvas"

  • @bulldoser2610
    @bulldoser2610 3 วันที่ผ่านมา

    I am writing a python library in rust that will allow users to write system configs in python and it will compile into a nix file. The library is almost fully compatible with nix. I am also thinking of making lua, ruby and bash binding of the library(not yet done). I am also trying to make a lightweight "nix cli" written in rust which will make nix commands and evals much faster. It is like deno for nix. These projects are still alpha and i soon plan to release these under mit license. Please make suggestions of the features you want. I chose python as a language because i think it is the most approachable language to new users. Thanks @vimjoyer and @librephoenix for luring me into the rabbithole of nix.

  • @dev_insights783
    @dev_insights783 3 วันที่ผ่านมา

    Bro plz make a video on how to contribute to nixpkgs

  • @prunkles_d
    @prunkles_d 3 วันที่ผ่านมา

    F# mentioned 🎉

  • @pyw_4539
    @pyw_4539 3 วันที่ผ่านมา

    04:35 Pun intended? : ^ )

  • @AVeryCooIName
    @AVeryCooIName 3 วันที่ผ่านมา

    I was tired and read the title as "make your coke better with pepsi"

    • @pupip55
      @pupip55 3 วันที่ผ่านมา

      both versions would be true

  • @Bvngee
    @Bvngee 3 วันที่ผ่านมา

    If only we could have statically typed nix

  • @computing1
    @computing1 3 วันที่ผ่านมา

    love this channel, please keep going!

  • @brianlogan4740
    @brianlogan4740 3 วันที่ผ่านมา

    Honestly I think making Nix more readable is a critical thing to get right in order to foster more adoption. While the functional declarative simplicity is great for logical clarity it requires some up front learning to understand. I think this piping is a good example of how the functionality can remain the same but we add some syntax sugar to make it look more like declarative config and less like spaghetti code. I'm for logical simplicity though.

    • @wumi2419
      @wumi2419 วันที่ผ่านมา

      I still have an xmonad config somewhere, but that one has too little spaghetti instead. It's basically a write-only config because it was written in one sitting while I remembered argument counts and operator precedence.

  • @tomaintaround
    @tomaintaround 3 วันที่ผ่านมา

    Wait… is this a monad?

    • @RegrinderAlert
      @RegrinderAlert 3 วันที่ผ่านมา

      No, it’s syntactic sugar.

  • @Redyf
    @Redyf 3 วันที่ผ่านมา

    This is HUGE The pipe operator is so good ❄️🙌

  • @Pierre-zh3ed
    @Pierre-zh3ed 3 วันที่ผ่านมา

    Inspired by Gleam?

  • @AGenericYTUser
    @AGenericYTUser 3 วันที่ผ่านมา

    Sadly, the NixOS community has been hijacked by deranged woke individuals... 🏳️‍⚧️

  • @jpalharini
    @jpalharini 3 วันที่ผ่านมา

    Just like threading (first and last) in Clojure, which I use a lot. Great addition!

  • @PstMrtem
    @PstMrtem 3 วันที่ผ่านมา

    Yesssss

  • @ggorg0
    @ggorg0 3 วันที่ผ่านมา

    I use Rust. I like very, very long and definitely unreadable pipelines. Literally, sometimes I can write a 20-lines-long function without any semicolons! Iterator chains are very cool, as well as the fact that ifs and matches can return values. When writing in other languages I often feel pain because of not having such well-built iterators and the other things I talked about. By the way, why do your videos never get recommended to me? Literally, all other creators I watch and am subscribed to pop up on my homepage as soon as they upload a new video, but you? You never pop up in my recommendations, ever. Thank God I am in your Discord server so I can at least know when new videos get released and then go into my Subscriptions tab to find it right at the top of the feed. Do any other people have this issue? Oh, and do you by any chance upload on any other service than TH-cam? Maybe PeerTube or Odysee? If not, then please consider that! Whoa this comment is getting very long with every single edit I make. But I'd like to just quickly add a few video suggestions. Can you revisit Nixvim please? I use it for my own Neovim config and think it's highly superior to Lua configuration (except for the fact that, unlike lazy.nvim, it doesn't lazy-load packages). Or at least just make a general neovim configuration video? The other suggestion is packaging things and making develolment shells. I've been struggling A LOT to make flakes for my projects with packages, devshells and some other goodies like treefmt-nix and pre-commit-hooks.nix. I'd like to see a video (or series) about "How to use Nix with a {insert programming language here} project.". My biggest issues were with Rust (using crane), but I think I kind of figured it out... But it doesn't work as well as I'd like it to. Another suggestion js maybe talking about CI/CD? Also, have you maybe seen the project nixos-unified? I use it in my nixos/home-manager/nixvim flake and it works well... Up until it doesn't. But it has some cool goodies that make writing your flake a lot easier. If you'd like to see all the things I talked about above in action in my config, then see GGORG0/nix-config on GitHub. And here comes another suggestion - best practices to structure your nixos/home-manager config. Because mine isn't structured well and I know that... That's it. I'm not writing any more. Yes I am. Just adding that this video DOESN'T EVEN APPEAR in my watch history. I mean, like on mobile you have the "You" tab which shows your watch history. It's non-existent there. But if I click on show more, then it is in the list. TH-cam what the f??? Oh wow, I didn't know that editing a comment would remove the heart from it. Oh well...

  • @HaveANceDay
    @HaveANceDay 3 วันที่ผ่านมา

    I'd like to learn to self-host web applications using Nix and/or NixOS

    • @HaveANceDay
      @HaveANceDay 3 วันที่ผ่านมา

      Also, great video 👍

    • @vaisakh_km
      @vaisakh_km 3 วันที่ผ่านมา

      Ya i too wanted to learn this.. as a better (or worse) alternative to hosting in docker.. i have no clue how to make flakes of dbs and all

    • @vimjoyer
      @vimjoyer 3 วันที่ผ่านมา

      I plan to make a video about services soon, so that's probably going to help

  • @alunarnova
    @alunarnova 3 วันที่ผ่านมา

    i like the more subtle background :) the one before was a bit distracting for me

    • @vimjoyer
      @vimjoyer 3 วันที่ผ่านมา

      agree

  • @bastiana3611
    @bastiana3611 3 วันที่ผ่านมา

    Awesome video! I can't lie I was missing pipes a bit from other functional languages, awesome they're coming to Nix. I can't lie, I was doing that let expression variable nonsense a bit for some of my more complex Nix modules.

    • @vimjoyer
      @vimjoyer 3 วันที่ผ่านมา

      Yes, I too have already found a ton of places where I could use them in my configuration

    • @bastiana3611
      @bastiana3611 3 วันที่ผ่านมา

      @@vimjoyer Do you have your config in a public repo btw? I'd love to take a look. :)

    • @vimjoyer
      @vimjoyer 3 วันที่ผ่านมา

      ​@@bastiana3611 Yes, it's on github:vimjoyer/nixconf

  • @starving207
    @starving207 3 วันที่ผ่านมา

    Crazy boy and Crazy pipes

    • @vimjoyer
      @vimjoyer 3 วันที่ผ่านมา

      crazy mad insane

  • @kokomema
    @kokomema 3 วันที่ผ่านมา

    Vimjoyer knows how to handle that heavy pipe!

  • @barboza-dev
    @barboza-dev 3 วันที่ผ่านมา

    Thanks for the video!

  • @matthiasbendewald1803
    @matthiasbendewald1803 3 วันที่ผ่านมา

    Noice!

  • @Abakum1
    @Abakum1 3 วันที่ผ่านมา

    Too little metal pipe sound effects

    • @vimjoyer
      @vimjoyer 3 วันที่ผ่านมา

      Only 2. I initially wanted to add it every time I said pipe, but didn't want to overdo it

    • @stefanstammberger3781
      @stefanstammberger3781 2 วันที่ผ่านมา

      ​@@vimjoyerfeared your helmet fell off

  • @Folvin-x1o
    @Folvin-x1o 3 วันที่ผ่านมา

    vimjoyer pipeline

  • @___xdesna___4345
    @___xdesna___4345 3 วันที่ผ่านมา

    10k subscribers? 5:29

    • @vimjoyer
      @vimjoyer 3 วันที่ผ่านมา

      Yeah, I need to update that

    • @AnirudhTammireddy
      @AnirudhTammireddy 3 วันที่ผ่านมา

      He didn't do rebuild-switch after editing config on youtube

  • @Arcensyl-f6h
    @Arcensyl-f6h 3 วันที่ผ่านมา

    Based pipe wrench

  • @teamwolfyta
    @teamwolfyta 3 วันที่ผ่านมา

    New Video, Let's goooo. Edit: I want and need this feature.

  • @mingmillennium
    @mingmillennium 4 วันที่ผ่านมา

    YOU! SAVE MY DAY!!!

  • @2Kaleb
    @2Kaleb 4 วันที่ผ่านมา

    How to run Riot Vanguard on NixOS?😅

    • @vimjoyer
      @vimjoyer 4 วันที่ผ่านมา

      Impossible

  • @quiet_owo
    @quiet_owo 5 วันที่ผ่านมา

    man... i wish i did it on a fresh install of nix. i get the home-manager error which needs me to remove the original files inthe directories for the switch to be done successfully.

    • @vimjoyer
      @vimjoyer 5 วันที่ผ่านมา

      Use `home-manager.backupFileExtension = ".backup";` to make home-manager backup the original files and rebuild successfully

  • @olliecook1982
    @olliecook1982 6 วันที่ผ่านมา

    What are the difference between the home.nix file and flake.nix file we created in the /etc/nixos/ directory, and the home.nix and flake.nix file that got created in the home/user/.config/home-manager/ directory? Which ones should we be using?

    • @vimjoyer
      @vimjoyer 6 วันที่ผ่านมา

      You should use the home.nix that your configuration is referencing, so the one in /etc/nixos directory. The one created in /home/user/.config/home-manager is generated as a standalone version, meant to be used separately from nixos.

  • @vintagegenious
    @vintagegenious 7 วันที่ผ่านมา

    BetterDiscord ?

  • @bebbuinc7611
    @bebbuinc7611 8 วันที่ผ่านมา

    Hi, what about when you already have a nix configuration existed and want to try the dev env? Do you add the mkShell package inside the modules?

    • @vimjoyer
      @vimjoyer 8 วันที่ผ่านมา

      You can have as many flakes as you want, so just create some new directory and create a dev env there. Alternatively, you can add your devenv as another input of your primary flake, or even create a separate shell.nix w/o a flake somewhere.