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.
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 TumbleweedNixOSUbuntu ), 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:
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.Home Manager is a BIG rabbithole of it’s own for sure. Between
nixos
,nix
, andhome-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 :)