NixOS On ANY VPS | nixos-anywhere guide

preview_player
Показать описание


A video about installing NixOS anywhere remotely.
Рекомендации по теме
Комментарии
Автор

Awesome video, vim! nixos-anywhere also has a terraform module, so you can provision, install and update ALL your NixOS configurations with one command, rather than having multiple tools to do each part.

The NixOS wiki is deployed using nixos-anywhere terraform, on hetzner cloud.

IogaMaster
Автор

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!

bastiana
Автор

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.

lordkekz
Автор

Great tool. I was able to use this to swap out a production Ubuntu installation allowing me to ditch my aging ansible roles

brinkoo
Автор

Love your videos man, could you make a disko-install guide?

Kana-okss
Автор

it's much better than infect script imho, thx :D

smenewithhands
Автор

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

con-f-use
Автор

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?

mrag
Автор

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 🤞

lukeskywalker
Автор

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?

vaisakh_km
Автор

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

HiImKyle
Автор

Can someone tell me why i'd want to install or use something standalone rather than as a module? I saw this option in a few programs, notably nixvim, and I'm not sure what the pros and cons are?

caseyriley
Автор

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

ggorg
Автор

Where minecraft bro pls babe. Give me my minecraft

berkano
Автор

I recently got into nixos due to you videos and i am having a little trouble with stylix. I enabled the stylix and and did every configuration but when i run nixos-rebuild command it give me a error { does not exist }, but i haven't mentioned ghostty in entire configuration. So can you please give me a way to fix it please,

KakashiHatake-xkto
visit shbcf.ru