browse Lemmy

1000018943

check the hole out

1000018945

try digging in a bit

1000018941

profit!

  • GravelPieceOfSword@lemmy.caOP
    link
    fedilink
    arrow-up
    4
    ·
    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 :)