678
submitted 2 years ago by American_Jesus@lemm.ee to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] onlinepersona@programming.dev 7 points 2 years ago

If a program just uses $HOME or someone starts writing a new application, how is that supposed to help?

[-] sickday@kbin.social 4 points 2 years ago

You can manage symlinks pretty easy with home-manager. I'd personally setup symlinks for these app configuration directories if I don't want them storing files directly on the disk I use for $HOME. It's also done in a delcarative way that can persist across multiple computers.

[-] onlinepersona@programming.dev 3 points 2 years ago

I'm not sure I understand. So you create a symlink from $HOME/.program.ini to something in the nix store? If so, how does that solve the problem of clutter in $HOME ?

[-] Byter@lemmy.one 1 points 2 years ago

You're right, it doesn't. That does give me an idea though.

You could use overlayfs with an opaque upper directory to hide the files littering your $HOME and still access them by bind-mounting them into the appropriate xdg dirs.

Way more effort than it's worth, of course.

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)
this post was submitted on 28 Sep 2023
678 points (98.7% liked)

Linux

57181 readers
549 users here now

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

Related Communities

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

founded 6 years ago
MODERATORS