Rebuilding my NixOS config - Part 7: Flake System Installation & Declarative Partitioning With Disko

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025
  • Welcome to video #7 in our NixOS configuration series! In this episode, we're taking system setup to the next level with flake-based installations and automated disk partitioning using Disko. Perfect for DevOps engineers and system administrators looking to streamline their deployment process.
    code.m3tam3re....
    ⏱ Timeline:
    00:00 Introduction and Recap
    00:17 Installing NixOS from a Flake
    01:19 Using Disko for Partitioning
    02:40 Configuring Disko in Flake
    09:16 Setting Up the Virtual Machine
    10:29 Running the Installation
    14:25 Exploring Disko's Capabilities
    17:44 Final Steps and Conclusion
    20:23 Next Steps and Farewell
    🔧 What You'll Learn:
    ✓ Installing NixOS from a flake configuration
    ✓ Automated disk partitioning with Disko
    ✓ Refining your NixOS configuration for reproducibility
    ✓ Practical tips for cloud and local installations
    🔗 Useful Links:
    Disko GitHub Repository: github.com/nix...
    NixOS Manual: nixos.org/manu...
    👀 Coming Up Next:
    Declarative Docker container management in NixOS
    🔔 Don't forget to subscribe for more NixOS and systems engineering content!
    👍 If you found this video helpful, give it a like to support more advanced NixOS tutorials.
    🤝 Connect With Me:
    All my links: links.m3tam3re...
    💡 Join Our Community:
    Every view, comment, and share helps grow our community of NixOS enthusiasts and systems engineers. Let's push the boundaries of system configuration together!
    #NixOS #Flakes #Disko #DevOps #SystemAdministration #Automation #Linux #OpenSource

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

  • @erwin757
    @erwin757 3 หลายเดือนก่อน

    Thanks for these series. I am building right now my full homelab setup in nix. Very powerful stuff! Thanks!

    • @m3tam3re
      @m3tam3re  3 หลายเดือนก่อน

      Nix is a great choice for a homeland setup.

  • @brentonbills5946
    @brentonbills5946 3 หลายเดือนก่อน

    Would love to see nixos anywhere usage. Also cross building from a mac to a x86 vm on an arm chip, if you happen to have it. 😅

    • @m3tam3re
      @m3tam3re  3 หลายเดือนก่อน

      I will do a video on NixOS anywhere next month 😊 cross building vom Mac to x86 is definitely interesting, but currently I do not own any Apple hardware with the new architecture 😇

    • @brentonbills5946
      @brentonbills5946 3 หลายเดือนก่อน

      @@m3tam3re ok. No worries. I thought I'd ask as I tried to in the past with varied success.

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

      Just read it isn’t possible: However, it still does not bridge the gap between CPU architectures: It would be great to be able to use the Rosetta feature in the NixOS VM, as there is a Rosetta flag for NixOS guest systems, which is unfortunately not supported by Qemu. There is ongoing work in that area - stay tuned!

    • @m3tam3re
      @m3tam3re  3 หลายเดือนก่อน

      Thanks for the info. Hopefully there will be a solution in the future as more and more Apple users seem to work with nix 😀