NixOS Home Manager Install

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

КОМЕНТАРІ • 25

  • @vagrant1943
    @vagrant1943 8 місяців тому +3

    I love home manager! So easy to get everything working together since it's all in one place!

  • @FernandoDalMoro
    @FernandoDalMoro 8 місяців тому +4

    Hi Chris, love the videos. I'm going down the NixOS rabbit hole also (your fault! btw). In any case, a few comments on this video. Flakes... I use an "all-in-one" flake that configures 3 different systems according to host name (laptop, workstation, server), to distribute different software, hardware, network config per machine. Layout is the laptop will have tools for network troubleshooting and ACPI/power management configs, workstation will have GPU pass-through (I do have 2 GPU in one system) for Windows VM with looking glass. Home server for the usual stuff (NAS,Plex,bittorrent, etc...). On the network side, the plan is to give each one a static IPV6 IP with a hosts file entry so that when I'm in VPN, I can still get to them via IPV6. This takes 1 flake/1 default config.nix, 3 different software config.nix, 3 different hwconfig.nix files. You mentioned that Home Manager for managing dotfiles or configs was not worth it. However, there is a simple way to take what you already have and save it all with HM. Try making a 'dotfiles' dir in you nixos repo. Copy a config file in there or just a plain text file to test. In your home.nix make a new line 'home.file={".testfile"{source=./dotfiles/testfile;};};' git add/commit and run 'sudo nixos-rebuild switch' since you have HM module if I remember. That should give you a '~/.testfile' linked to your HM store file. Hope you find it useful! Take care

    • @homie4235
      @homie4235 5 днів тому

      Do you have your config in a github? Been looking for some examples for having multiple hosts.

  • @donciclon
    @donciclon 8 місяців тому +3

    My first real use case for configuring my system through flakes was pulling in packages from multiple channels. Specifically, i mostly use the unstable channel, but at least in one case, i've pulled in a broken package that worked fine in stable.

  • @Nicfallenangel
    @Nicfallenangel 8 місяців тому +4

    I use home manager with flakes so I can install nix on any computer I regularly use and then just git pull and setup home-manager to have everything I need. My neovim config is there, and others like bash aliases are there. Modules also let me enable/disable applications and configs on the fly. Don't have a DE/WM on ssh, so just disable the gui-applications for that home config.

  • @adjbutler
    @adjbutler 8 місяців тому

    Let's GOOOOOOOO!!!!! Home Manager is awesome!!!

  • @harryhall4001
    @harryhall4001 6 місяців тому

    You should try using a local AI instead of ChatGPT. I would imagine a Navi 32 has enough VRAM for at least a basic model. Maybe could run mixture of experts.

  • @Alecs-X
    @Alecs-X 8 місяців тому

    Don't make me to take down your channel....

  • @Hakanxyz
    @Hakanxyz 3 дні тому

    Niron magnetics e yatırırım

  • @adjbutler
    @adjbutler 8 місяців тому +1

    I use NixOS btw....

  • @vp4744
    @vp4744 4 місяці тому

    I wonder if the people who write these help pages actually installed using those same steps. That man page you're looking at is clearly asinine. For a software that is 20 years in the making, this is atrocious.

  • @beastade
    @beastade 8 місяців тому +6

    Nixos wiki is so outdated.

    • @mucklus
      @mucklus 8 місяців тому +3

      The NixOS Wiki is designed for users familiar with programming. In programmable Linux distributions, no one is going to spell out every word to a noob like they do on the Arch Wiki. That's not the case here.

    • @duckmeat4674
      @duckmeat4674 5 місяців тому +4

      ​@@mucklussure, it doesn't have to be for beginners, but Gentoo wiki is extremely comprehensive and no one says Gentoo is hand holding. Don't defend bad documentation

  • @mucklus
    @mucklus 8 місяців тому +10

    home manager is a third-party crutch in NixOS. No other function other than organizing /home this thing has. That is, flakes and home manager make the NixOS a bit like Arch. Lots of dotfiles, frills, icons... practically no sense, except overcomplicating the system configuration. Do you want "reproducibility" and "specific package versions"? I do this by saving my configuration.nix in a convenient place(can even be stored in WhatsApp))))))) "files" and declaring "specific package version" in configuration.nix

    • @donaldwilliams6821
      @donaldwilliams6821 8 місяців тому +5

      That is your opinion and that's valid. Linux and very much NixOS are about choices and freedom of choice. I won't tell you how to set up your NixOS allow other the freedom to do the same. As someone who just getting into NixOS but not new to Linux i have found flakes and home manager to be a useful tool. That may change later, who knows.

    • @genericgamer1319
      @genericgamer1319 8 місяців тому +2

      what
      in what sense does home manager make Nix OS like arch & how is home manager over-complicating anything

    • @mucklus
      @mucklus 8 місяців тому +2

      @@genericgamer1319 That. I've always disliked the pile of config files in linux. I know the vast majority use flakes to decorate the system. I don't do decorating and in NixOS I configure absolutely everything in one file.

    • @genericgamer1319
      @genericgamer1319 8 місяців тому

      @@mucklus you can do the same with flakes all that flakes do is obvuscate some bits & let you lock inputs to certain versions a bit more easily
      also does absolutely everything include hardware config even nix puts that in a different file

    • @Flackon
      @Flackon 8 місяців тому +1

      Like Arch is good.
      Reproducibility is useless for a desktop computer one actively uses, which is exactly where you'd use home-manager for.
      For servers, I agree, it's not necessary.