this post was submitted on 25 Aug 2023
48 points (98.0% liked)

linuxmemes

20880 readers
8 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

browse Lemmy

1000018943

check the hole out

1000018945

try digging in a bit

1000018941

profit!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 7 points 1 year ago (1 children)

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.

[โ€“] [email protected] 6 points 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 :)