NixOS On ANY VPS | nixos-anywhere guide

Поділитися
Вставка
  • Опубліковано 15 гру 2024

КОМЕНТАРІ • 34

  • @spageen
    @spageen 23 години тому +25

    Can I install NixOS on a dead badger?

    • @vimjoyer
      @vimjoyer  23 години тому +12

      only one way to find out

    • @con-f-use
      @con-f-use 2 години тому

      Sure, on a Breezy Badger!
      (Ubuntu 20.04)

  • @bastiana3611
    @bastiana3611 17 годин тому +3

    If I'm not mistaken how nixos-anywhere also uses your local nix store when doing its thing which in turn should speed it up quite a bit if you're installing on many machines. Great video!

  • @lordkekz4
    @lordkekz4 17 годин тому +2

    I recently set up NixOS using NixOS-anywhere on my VPS. My hosting provider uses cloud-init to provision networking configurations so the generic config didn't work right away.
    I enabled the NixOS module for cloud-init, but it failed to set up the IPv4 gateway (it's in a different subnet with my provider).
    You can work around that by booting into the working OS (e.g. Ubuntu) and just copying the static IPs and Gateway to your NixOS config. That works unless they change the gateway, which hasn't happened yet for me.
    After these shenanigans everything works just fine! I got my disk formatted with btrfs and everything's been rock solid as you'd expect.

  • @BeOnlyChaos
    @BeOnlyChaos День тому +3

    Exciting episode

  • @m0r4ag
    @m0r4ag 8 годин тому +2

    I really really like the style of your videos, the animations and transitions are very cool. How do you make them? Do you use something like manim to create the videos or it’s full on editing? What do you use to edit?

    • @vimjoyer
      @vimjoyer  7 годин тому

      I use motion canvas

    • @m0r4ag
      @m0r4ag 7 годин тому

      @ I appreciate the response, thanks

  • @impotentape7413
    @impotentape7413 День тому +2

    Vimjoyer the 🐐

  • @HaveANceDay
    @HaveANceDay День тому +1

    Enjoyed this video 👍

  • @jols4808
    @jols4808 23 години тому +1

    Certified Banger 🗿

  • @davidlindskoghedstrom4737
    @davidlindskoghedstrom4737 День тому +1

    Love it!

  • @lukeskywalker7029
    @lukeskywalker7029 День тому +2

    ok, so after switching all my work machines, I will start switching all my linux servers to nixOS? 🤔
    If only there was a coolify pkgs package 🤞

  • @HiImKyle
    @HiImKyle 22 години тому +1

    I'm pretty dumb when it comes to NixOS + Homemgr. Do you have any other guides on what Home manager is and how to use it that isn't your video on it? I watched it but its still not clicking

    • @vimjoyer
      @vimjoyer  22 години тому +5

      I am going to make a more in-depth home-manager guide pretty soon

  • @Sandra-l7y
    @Sandra-l7y 3 години тому

    Great content, as always! I need some advice: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). Could you explain how to move them to Binance?

    • @vimjoyer
      @vimjoyer  9 хвилин тому

      Sorry, I don't know

  • @vaisakh_km
    @vaisakh_km 22 години тому +2

    wait, was it that simple??
    can you make a video on a good way to make server config from scratch? like can we do things we do in docker-compose like having a network?? or should i be configuring docker in nixos, keeping nixos just as a base?
    how about databases?

    • @vimjoyer
      @vimjoyer  22 години тому

      You can basically just add the disko module and the disko config to an empty config, and that's all you need for a bare-bones config. Afterward, you can just treat it as a normal NixOS config

    • @lordkekz4
      @lordkekz4 17 годин тому

      You're free to choose how you deploy your applications.
      I personally declaratively create VMs using microvm.nix and configure the services inside the VMs just with NixOS modules and systemd.
      But many VPS providers don't support virtualisation, so you could go for NixOS's declarative docker/oci containers or nixos-containers (with systemd-nspawn).
      If you want to start simple and already have some docker knowledge, you could also install docker and then start services using docker-compose as you would on other distros.

    • @vaisakh_km
      @vaisakh_km 16 годин тому

      @@lordkekz4 a start up i am currently in we are using spring-boot, which has excellent docker support, but i do wanna use nix, issue is, we only have limited resources and time, so can't waste time trouble shooting nix😅, atleast, atm...

  • @berkano4617
    @berkano4617 День тому +6

    Where minecraft bro pls babe. Give me my minecraft

  • @artemis-albosa
    @artemis-albosa День тому +3

    could you please you post this to your odysee page as well?

    • @vimjoyer
      @vimjoyer  День тому +1

      It will get synced automatically

  • @Gilded_Seraphim
    @Gilded_Seraphim День тому +1

    yay

  • @shirishpokhrel6593
    @shirishpokhrel6593 День тому +1

    oh yes moar nix

  • @ggorg0
    @ggorg0 День тому +2

    why is yt not recommending me your videos??? literally, i get recommended new videos from everyone else right after they upload, but for you the only way to watch your videos is by either manually going into the subscriptions feed or by getting the notification from Discord...

    • @vimjoyer
      @vimjoyer  День тому

      Yeah, videos are doing much worse lately. I need to figure out why

  • @con-f-use
    @con-f-use 2 години тому

    The hardest part is to figure out how to get disko to work.

  • @kokomema
    @kokomema День тому +1

    First