browse Lemmy

1000018943

check the hole out

1000018945

try digging in a bit

1000018941

profit!

  • BitSound@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    That reminds me that I should check out home manager. That’s a whole rabbit hole I haven’t gone down yet. I’ve moved over to NixOS, but I’m sticking everything in /etc/nixos/configuration.nix atm.

    • GravelPieceOfSword@lemmy.caOP
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      Home Manager is a BIG rabbithole of it’s own for sure. Between nixos, nix, and home-manager, I’ve probably skimped on sleep for weeks.

      At the moment, I primarily use 3 distributions ( OpenSuse Tumbleweed NixOS Ubuntu ), but each one of them uses a combination of chezmoi to sync dotfiles, and home-manager to manage command line packages - nice to be able to have the same command line utilities and tools available.

      One thing I like about my current home-manager config is that it installs more packages on nixos than on other distributions, by separating the all_os vs. nix_only packages into two separate files, and sourcing them like so:

        imports = [
          ./all_os.nix
        ] ++ lib.optional (builtins.pathExists /etc/nixos/configuration.nix)  ./nixos_only.nix;
      

      Anyways, I digress :)