Effortless Minecraft Servers on NixOS | Simple Declarative Setup

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025
  • To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/.... You’ll also get 20% off an annual premium subscription.
    Discord server: / discord
    Donations: ko-fi.com/vimj...
    Donations 2: buymeacoffee.c...
    code from the video: github.com/vim...
    Also, available on: journix.dev/po...
    This video was sponsored by Brilliant.

ความคิดเห็น • 130

  • @vimjoyer
    @vimjoyer  5 หลายเดือนก่อน +6

    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.

    • @random_userk123
      @random_userk123 5 หลายเดือนก่อน +1

      @@vimjoyer congratulations on your sponsorship

  • @Redyf
    @Redyf 5 หลายเดือนก่อน +104

    I loved the idea of using that font for this video hahaha, what a genius move!

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน +14

      Thanks

    • @angeldude101
      @angeldude101 5 หลายเดือนก่อน +1

      It's not quite _the_ Minecraft font, but it's clearly inspired by it.

    • @julioau
      @julioau 5 หลายเดือนก่อน +1

      ​@@angeldude101
      Do you have a link or a name for it?

    • @angeldude101
      @angeldude101 5 หลายเดือนก่อน +2

      @@julioau I don't know the exact font used in the video, but I spent some time working with the Minecraft don't by extracting the tile sheets and know that the Minecraft font is a proportional one, where as the one in the video is monospaced.

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน +3

      @@julioau It's called Monocraft

  • @ardishco
    @ardishco 5 หลายเดือนก่อน +55

    YOOO what the hell the theming for this is crazy. Absolute love this.

  • @bastiana3611
    @bastiana3611 5 หลายเดือนก่อน +22

    i thought the minecraft font was a meme at the start of the video but mad respect for using it throught the entire thing lol

  • @thatoddshade
    @thatoddshade 5 หลายเดือนก่อน +65

    I am ricing NixOS in a VM, friends are playing Minecraft, and THIS drops.
    edit: I just realised that everything, from the thumbnail to the font in the video, is Minecraft-themed! love the attention to detail.

  • @rick_mars3599
    @rick_mars3599 หลายเดือนก่อน +1

    I was just researching how to host my own server to play with my friends and not have to pay for Mojang's Realms, this is a moment of Vimjoyer to the rescue, you are great :3

  • @idkwtpaah
    @idkwtpaah 5 หลายเดือนก่อน +4

    vimjoyer, im so happy for you! you've grown so much and now you're even taking sponsorships! even with all this growth you are still massively underrated. Thank you so much for your videos

  • @Arcensyl-f6h
    @Arcensyl-f6h 2 หลายเดือนก่อน +2

    I gotta confess that the Minecraft font on the terminal looks surprisingly good. I'm planning on trying NixOS again since I built up more programming knowledge, so maybe I'll mess around with font after I make the jump.

  • @faeranne
    @faeranne 5 หลายเดือนก่อน +15

    just want to add that nix-minecraft is also getting (neo)forge support "soon". It's taking some time to properly parse everything, since both mojang and forge do some wonky stuff for formatting, and mojang doesn't keep some files declaratively, but hopefully it can be finished soon.

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน

      That is awesome

  • @nixnox4852
    @nixnox4852 5 หลายเดือนก่อน +2

    😍What perfect timing, thank you so much for making this so straightforward.
    And if you'd like ideas for another video:
    1) A terraria server makes a natural companion.
    2) Setting up a protective tunnel for these servers like wireguard/tailscale

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน +2

      Noted

    • @IogaMaster
      @IogaMaster 5 หลายเดือนก่อน +3

      I am the creator of flux, it does have the tunnel features. I am going make the features available to all, not just flux users soon

  • @monkeyofwar6818
    @monkeyofwar6818 5 หลายเดือนก่อน +1

    I have 0 intention of ever doing this, but it's just amazing how easy it is. I just started committing to NixOS 2 days ago (so I'm veryyy new) and this shit is so cool.

  • @tdoggie7315
    @tdoggie7315 5 หลายเดือนก่อน

    I was recently planning to switch one of my Minecraft servers over to NixOS, thanks for this! The video I didn't want but needed!

  • @Pawlash
    @Pawlash 5 หลายเดือนก่อน

    thanks! one month ago i moved to nixos, you have really helped me - i even thought about doing mc server and now this video? amazing job

  • @IogaMaster
    @IogaMaster 5 หลายเดือนก่อน +2

    Great video vimjoyer!
    This is the creator or flux, mcman is a cli that can import modrinth and curseforge packs and keep them version controlled.
    Flux also has online reverse proxies, so if don’t have and don’t want to pay for a static ip. This is a simple solution to that.
    In the future I may make the reverse proxy functionality separate, so anyone can use it.

    • @helix_dpr
      @helix_dpr หลายเดือนก่อน +2

      wow here is logaMaster also

  • @thiagoassisfernandes
    @thiagoassisfernandes 5 หลายเดือนก่อน +1

    Ayooo congrats on the sponsorship!

  • @random_userk123
    @random_userk123 5 หลายเดือนก่อน +1

    That minecraft skin of your is good also just thought yesterday to start playing Minecraft again 😄 thx for this

  • @blank6393
    @blank6393 5 หลายเดือนก่อน

    This is hilarious! I was thinking to myself how nice could be used for Minecraft servers and boom!

  • @SpiroDiscoBall
    @SpiroDiscoBall 5 หลายเดือนก่อน

    Let's goo! Happy to see you taking sponsors.

  • @gabbieblue
    @gabbieblue 5 หลายเดือนก่อน +1

    its me, im part of the overlap
    edit: the minecraft font in the code is genius, love this

  • @JustAlternate
    @JustAlternate 5 หลายเดือนก่อน +1

    Excellent video

  • @iblamefps
    @iblamefps 5 หลายเดือนก่อน

    oh wow, i was looking into this last week, wonderful

  • @Familex
    @Familex 5 หลายเดือนก่อน

    awesome visuals!

  • @min3craftpolska514
    @min3craftpolska514 5 หลายเดือนก่อน +1

    Thanks!

  • @mumk
    @mumk 5 หลายเดือนก่อน +1

    NixOS and Minecraft. Combination that I'd never thought of

  • @lololol338
    @lololol338 5 หลายเดือนก่อน

    Excellent video !

  • @RazoBeckett.
    @RazoBeckett. 5 หลายเดือนก่อน

    Love you man!

  • @HiImKyle
    @HiImKyle 5 หลายเดือนก่อน +1

    I wish I knew this like 2 years ago. I'm neck deep in a ubuntu headless machine with my servers on it already. I like the font though ;) nice touch

  • @filedotnix
    @filedotnix 5 หลายเดือนก่อน

    would be awesome if you published all the ricing you did for this video. i especially love the little gradient for the terminal startup plugin

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน +1

      Everything you see in the video is editing, but my real dotfiles can be found on my github page

  • @d1xxe
    @d1xxe 5 หลายเดือนก่อน +1

    NixOS is world of wonders, seriously

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน

      I know, right?

  • @usr3801
    @usr3801 5 หลายเดือนก่อน

    I havent watched the vid yet but i know its fire

  • @igrb
    @igrb 5 หลายเดือนก่อน

    such a good vid, nice

  • @brennantsullivan
    @brennantsullivan หลายเดือนก่อน +1

    The built in service has been updated to minecraft-server, as opposed to just minecraft like shown here in the video. Just a heads up for anyone setting this up from now on.

  • @quodsto
    @quodsto 5 หลายเดือนก่อน

    I never thought this could be a thing

  • @mateowoetam
    @mateowoetam 5 หลายเดือนก่อน +1

    Well now I know what I must do.

  • @LiterateGoblin
    @LiterateGoblin 5 หลายเดือนก่อน

    art.

  • @TheDistroHopper
    @TheDistroHopper 5 หลายเดือนก่อน +2

    Hey Vimjoyer,
    I like these videos.
    How do you create them?
    Any software/video editor?

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน +2

      I am using motion canvas

  • @Resursator
    @Resursator 5 หลายเดือนก่อน

    Before migrating to nixos, I have already setup a config around itzg/docker-minecraft-server, and made it synchronizing my modpack in prism launcher. It's good to have an alternative, I guess.

  • @inithinx
    @inithinx 5 หลายเดือนก่อน +2

    Discord notification gang! 😎

  • @niksingh710
    @niksingh710 5 หลายเดือนก่อน +4

    Okay i see what you did with the fonts there ..........

  • @illyasheshyn
    @illyasheshyn 5 หลายเดือนก่อน +1

    Awesome video 🌞 - is it possible to find the resources used for theming?

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน

      It's all video editing

  • @hand-eye4517
    @hand-eye4517 5 หลายเดือนก่อน +1

    dang its like you read my mind .... and i guess alot of other people had the same thought process as us

  • @estebandev528
    @estebandev528 5 หลายเดือนก่อน

    nice tutorial

  • @dako2117
    @dako2117 3 หลายเดือนก่อน +1

    FYI, in 24.05 I needed to instead use services.minecraft-server = { ... }; in my nixos config instead of just services.minecraft{ ... }

  • @namarrkon
    @namarrkon 5 หลายเดือนก่อน +1

    Now I want to see a premade nix config for Pterodactyl Panel!

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน +2

      That would be pretty cool actually

    • @IogaMaster
      @IogaMaster 5 หลายเดือนก่อน +3

      Unfortunately pterodactyl said the panel doesn’t work on nixos and they will not make it work.
      One day I will see if I can make it work, and make it a nixos module

  • @11WicToR11
    @11WicToR11 5 หลายเดือนก่อน +2

    how do you make these videos? I mean i see that you are editing it, just curious how you do those code reveals and highlights. Looks amazing!

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน +1

      I'm using motion canvas

  • @ggorg0
    @ggorg0 5 หลายเดือนก่อน +1

    My home server is a Raspberry Pi 4 running RPi OS (Debian based).
    All of my services run in Docker (using Docker Compose), and literally the only thing I changed in the host OS since installation is adding Docker and setting up my network properly.
    I like this approach, because with Compose I keep things declarative (and I can easily back up my docker directory containing both the compose.yml files and mointed container data).
    Does Nix have good Docker integration? Is it worth swapping from Compose? If not, is it worth using NixOS instead of RPi OS (if the only moditications I made are installing Docker and setting up the network)?
    Oh wow, that was long

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน

      NixOS has an awesome docker integration, I might make a video about it later

  • @ДашаГолік
    @ДашаГолік 5 หลายเดือนก่อน +2

    omg vimcraft

  • @vimjoyer
    @vimjoyer  5 หลายเดือนก่อน +1

    The default module service is called minecraft-server, not just minecraft. Why do I always make these stupid mistakes?

    • @Different_Name_
      @Different_Name_ 5 หลายเดือนก่อน +1

      should try run the config files you share first 🤣
      add this to the description or pin the comment

  • @CommanderT3706
    @CommanderT3706 5 หลายเดือนก่อน +1

    This is awesome, just set up a minecraft server on nix with tmux, looks like if got some changes to make. I have one question though, is there a way to send commands to the server console?

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน

      nix-minecraft allows you to connect to the servers with tmux `tmux -S /run/minecraft/servername.sock`

    • @CommanderT3706
      @CommanderT3706 5 หลายเดือนก่อน +1

      @@vimjoyer 🤔 will definitely have to check this out now. Thanks vimjoyer!

  • @burst1327
    @burst1327 5 หลายเดือนก่อน

    Thank you so much! i plan on moving to nix after being in endeavour os for a year. if possible, can you show how you made neovim look like that?

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน

      Everything you see in the video is editing, so it's not a real neovim

  • @9alexua9
    @9alexua9 2 หลายเดือนก่อน

    Can you do the same but for minecraft launchers, including that some of them work and some of them don't on wayland

  • @hadockzin
    @hadockzin 5 หลายเดือนก่อน +1

    Hey vimjoyer, will you ever make a video about plasma-manager? I think it is in a really good state rn

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน +1

      Sure will

    • @hadockzin
      @hadockzin 5 หลายเดือนก่อน +1

      @@vimjoyer That is very great to hear! I have actually recently joined plasma-manager team, so I can help you out if you need to, specially with panel widgets, because they are not really well documented rn

  • @maticz3923
    @maticz3923 5 หลายเดือนก่อน +1

    Wanted to migrate my vps to nix
    Gonna be useful (:

  • @qwfp
    @qwfp 5 หลายเดือนก่อน

    Impeccable timing as always! And great content as well ;p

  • @wumi2419
    @wumi2419 5 หลายเดือนก่อน

    I have started migration from Arch with home-manager to a NixOS setup (in a VM for now).
    I cobbled together a flake that pulls a modpack from github, overrides some mods and configs with local versions of them (configs need to be persistent and mods I can probably pull, but source is lost to time) and packages all of this in a docker container with nix2container.
    How would a sane person transition from that to a systemd service solution while still using derivations to assemble modpacks?
    None of solutions mentioned in video work for me because forge and old minecraft versions (except nixos-modded-minecraft-servers, but that one doesn't bother with installation for the same reasons I want something of similar power to derivations)

  • @aidan6141
    @aidan6141 5 หลายเดือนก่อน +1

    is there any way to switch the files from a server done with the first method to a server done with nix-minecraft?

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน

      Just copy I think

  • @FourtyOne-p2m
    @FourtyOne-p2m 2 หลายเดือนก่อน

    hey! hope its not too late, your tutorial was perfect and i got everything running. however.. is there any way i can access the console to the server?

  • @BeepDog
    @BeepDog 5 หลายเดือนก่อน

    Wonderful timing! I'm deep in a Feed-the-beast pack! Any advice on how to get one of those fired up nicely via Nix?

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน +1

      Not really sure, never tried it

  • @sirmorton
    @sirmorton 5 หลายเดือนก่อน +1

    How can I access the command prompt of the minecraft server?
    If you install a regular MC Server you have a prompt to enter commands for the minecraft server. Like /kick or /ban or whatever. How can I do this with this installation?

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน

      nix-minecraft allows you to connect to the servers with tmux `tmux -S /run/minecraft/servername.sock`

    • @sirmorton
      @sirmorton 5 หลายเดือนก่อน +1

      ​@@vimjoyer Thanks man. :)

  • @matwadoesgames
    @matwadoesgames 5 หลายเดือนก่อน

    Idk if its a windows to linux issue thing, but i've not figured out how to change my world. What ive done is download my world from my windows machine. stop the server in my nixos machine, replace the world for the other world, start again the server on the nixos machine and i get an error, idk why or how or how to get it solved because the console output is super small and idk if its outputted to a file (I am new to nixos entirely)

  • @anonymouscommentator
    @anonymouscommentator 5 หลายเดือนก่อน +1

    okay but what client do i use when i want to play the latests versions on nixos because they all keep crashing for me

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน

      prismlauncher, just make sure to get jdk21

    • @anonymouscommentator
      @anonymouscommentator 5 หลายเดือนก่อน

      @@vimjoyer that worked, thank you so much!

  • @YadraVoat
    @YadraVoat 5 หลายเดือนก่อน

    Impressively simple but what about Minetest? (The leading procedural-voxel platform that's actually open-source.)

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน

      NixOS also has a built-in module for minetest 👍

  • @itjustcrashed
    @itjustcrashed 5 หลายเดือนก่อน

    The font it Monocraft

  • @lomenzel
    @lomenzel 5 หลายเดือนก่อน

    how to use nginx to reverse proxy the different servers to different subdomains?

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน +1

      Not sure

  • @mctechcraft7
    @mctechcraft7 5 หลายเดือนก่อน

    This would have been nice to know before I had already set everything up manually with home manager 😭

  • @randomsnow6510
    @randomsnow6510 5 หลายเดือนก่อน

    ok but what if nix minecraft didnt exist? or i want to host a server of a game there arent fancy packages for (forge) ? how would i do that?
    nixes approach here seems super limited, on debian i dont need fancy software to run minecraft servers, i just install any files i want and put it in the folders.

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน

      You can always just make a custom systemd service with nix options

  • @chriskruining
    @chriskruining 5 หลายเดือนก่อน +1

    Would love to see a simmilar video to this, but then for steam dedicated servers. I got stuck in trying to get a palworld server running...

  • @mechan1sm_
    @mechan1sm_ 5 หลายเดือนก่อน

    I'm not quite familiar with nixos builtin minecraft module, but I think that nix-minecraft is a better solution, than the one builtin to nixpkgs

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน

      Yes, that's why I'm talking about it in this video

  • @zypex3823
    @zypex3823 5 หลายเดือนก่อน

    just as i was setting up a nix server to host minecraft on an old machine...

  • @spoonikle
    @spoonikle 5 หลายเดือนก่อน +1

    damn… now I want to switch to Minecraft font…

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน

      It's called monocraft

  • @Chandramumta
    @Chandramumta 5 หลายเดือนก่อน

    Btw, is Vimjoyer a Helixlover in reality?

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน +1

      I tried helix once, and it is pretty cool, but it lacks a ton of features I use every day. I primarily use Neovim.

    • @Chandramumta
      @Chandramumta 5 หลายเดือนก่อน +1

      @@vimjoyer oh, I fought it was helix in the video because of colors of nix syntax highlighting. I have similar in my helix, but different in my neovim.
      I love helix more because it is a lot simpler and starts up faster. Waiting for scheme plugins!

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน

      @@Chandramumta Everything you see in the video is editing, and the code editor is fake too

  • @alexstone691
    @alexstone691 5 หลายเดือนก่อน +1

    I have nothing against nix but at this point isnt it easier to just use a docker container?

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน

      But where's the fun in that?

    • @alexstone691
      @alexstone691 5 หลายเดือนก่อน +1

      @@vimjoyer True that

  • @s0me1newithhand7s
    @s0me1newithhand7s 5 หลายเดือนก่อน +2

    i kinda love docker + crafty bc of proxy, bots, bulk commands and etc.

  • @fluffiflower-1
    @fluffiflower-1 5 วันที่ผ่านมา

    now make a setup for terraria
    🙏

  • @berkano4617
    @berkano4617 5 หลายเดือนก่อน

    @vimjoyer pls can u post Skirby dog full video on NixOS next time!!!😭😭😭🙏🙏🙏

  • @HallOfCost
    @HallOfCost 5 หลายเดือนก่อน

    gemerald

  • @feliche-demiannetliukh3703
    @feliche-demiannetliukh3703 5 หลายเดือนก่อน

    Men, I think your Ukrainian accent slowly disappears. Keep it going man! Hello from Ukraine)

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน +1

      does it, lol?

    • @feliche-demiannetliukh3703
      @feliche-demiannetliukh3703 5 หลายเดือนก่อน +1

      @@vimjoyer Maybe I am getting used to it. But still, yes, I think so)

  • @mikkolukas
    @mikkolukas 5 หลายเดือนก่อน

    Not supporting Forge servers is a big fail though 🙄

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน

      I think they're coming soon

  • @DonaldClark-p1h
    @DonaldClark-p1h 4 หลายเดือนก่อน

    Martinez Richard Moore Michael Clark Matthew

  • @Qohist
    @Qohist 5 หลายเดือนก่อน

    I don't understand why you would do this. Making a Minecraft server is already easy on its own. Why create wrappers that seem unnecessary?
    Edit: i know reproducibility and stuff, but you have already Docker and scripts. Why not just use those?

    • @vimjoyer
      @vimjoyer  5 หลายเดือนก่อน

      Because this is more fun

    • @Qohist
      @Qohist 5 หลายเดือนก่อน +1

      @@vimjoyer Understandable, it does look fun, can't argue with that

  • @Folvin-x1o
    @Folvin-x1o 5 หลายเดือนก่อน

    гооооооооооооооллл

  • @x3nooo
    @x3nooo 5 หลายเดือนก่อน +1

    somehow nix manages to overcomplicate basic devops tasks lmfao