• 4 Posts
  • 172 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle







  • Your settings for the most part are in your home directory, generally when you install a Linux system everything that isn’t the bootloader is on one partition (system, installed applications, etc)

    Your home directory is for anything specific to your user, meaning your downloads folder, your pictures, documents and also your .config folder which holds 90% of the config files

    There are some weird ones that have directories outside of home, afaik that’s stuff like network manager remembering your saved networks that runs outside of your user context











  • I use nixos for dev all the time, personally I think it’s great

    What I would suggest however is to install the nix package manager on another distro, learn how it works that way and then switch when you’re comfortable only using nix

    Flakes are absolutely incredible for development and I think every project beyond scrappy scripts should use them.

    You can specify all your dependencies (compiler, libraries, cli tools, environment variables etc) in your nix flake, then run nix develop and it’ll make you an isolated shell with all that stuff

    (For example, I don’t have go, rust or dotnet installed but when I cd into one of my projects directors it installs them to a temporary shell and catches them until I clean up)

    The flake also generates a lock file which specifies every version of every dependency with a git rev and a hash, meaning if you check flake and lock into git, anyone else who clones that project and uses the flake gets the exact same system you were using