I’m looking for recommendations for a dotfile manager - there are so many out there I’ve got a bit of options paralysis!

I’d like a system that can backup all my dotfiles - with version management - and, if I nuked my home directory, could restore them all for me with a simple command.

Thanks in advance for you suggestions!

33 points

You guys manage your dot files? Huh!

permalink
report
reply
15 points

Isn’t every reinstall an opportunity for changes?

permalink
report
parent
reply
5 points

You took the words right out of my mouth!

permalink
report
parent
reply
24 points

I version them with Git.

permalink
report
reply
21 points

Git and a script file that’s basically just a ton of ln - s commands

I honestly don’t think I’ve ever found myself wanting more

permalink
report
reply
7 points

I do basically the same, but using GNU Stow instead of doing the ln myself

permalink
report
parent
reply
6 points

I did. I wanted more. I wanted ln -sf.

permalink
report
parent
reply
20 points
*

Home-manager on NixOs. It handles more than just dotfiles, as it also manages installed programs.

permalink
report
reply
8 points

It works outside of NixOS too! Just need to have the nix package manager installed.

permalink
report
parent
reply
2 points
Deleted by creator
permalink
report
parent
reply
5 points

Just so it’s clear for everybody: Nix is a programming language, build system, and package manager. NixOS is a Linux distro built with (and upon) Nix. Home Manager is a dotfile and home management tool using Nix, allowing control of dotfiles, but also per-user software, systemd services, and more. You can use Home Manager in any distro, not just NixOS (but you do need to install Nix).

permalink
report
parent
reply
2 points

Here’s my example (Github mirror). It stores everything from my custom packages (like GIMP 2.99, which isn’t yet packaged in nixpkgs, or a custom virtiofsd to workaround an upstream bug caused by switching from the old C to the new Rust implementation), to my fish, sway, rofi, mpv configs, to my entire server setup, including Gitea, Nextcloud, Keycloak, Mumble, mailserver and Matrix server with some bots and bridges (I recently migrated from an x86_64 to a arm64 board and the only post-install setup I had to do was copy /var), to my router’s nftables rules.

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply
1 point

I just use Git for my nixos config files.

permalink
report
parent
reply
19 points

I didn’t even know that was a thing, I just keep it in a git repo

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 9.7K

    Monthly active users

  • 5.8K

    Posts

  • 162K

    Comments