I LOVE keeping my configs in source control. I add something to my laptop in my shared config, it also adds it to my work desktop and my travel box. I need it just on the prime laptop? there’s a spot for that too. Stuff that’s not needed every day? nix-shell -p it. I even setup some shared nix-shell project folders so if i need something like yt-dlp, nix-shell in the directory pulls down a specific python, installs the latest yt-dlp, ffmpeg and deno, even leaves me a shellhook reminder of what the command line is. when I close that shell, it’s all gone.
yeah nix shells are awesome. I use a few suckless things to the point I have my own #suckless nix development shell. Just load that up whenever I need to change or build someting and i’m good to go. for my other dev things I just use flakes which makes it just as easy. all I have to do is CD into a project directory and then my environment is instantly setup. CD out and it’s gone. All that on top of my system config being in a repo I can reinstall my system on any PC within minutes.
Really NixOS is the end game of Linux Distros. Once you finally figure it out you’ll never distro hop again.
I LOVE keeping my configs in source control. I add something to my laptop in my shared config, it also adds it to my work desktop and my travel box. I need it just on the prime laptop? there’s a spot for that too. Stuff that’s not needed every day? nix-shell -p it. I even setup some shared nix-shell project folders so if i need something like yt-dlp, nix-shell in the directory pulls down a specific python, installs the latest yt-dlp, ffmpeg and deno, even leaves me a shellhook reminder of what the command line is. when I close that shell, it’s all gone.
yeah nix shells are awesome. I use a few suckless things to the point I have my own #suckless nix development shell. Just load that up whenever I need to change or build someting and i’m good to go. for my other dev things I just use flakes which makes it just as easy. all I have to do is CD into a project directory and then my environment is instantly setup. CD out and it’s gone. All that on top of my system config being in a repo I can reinstall my system on any PC within minutes.
Really NixOS is the end game of Linux Distros. Once you finally figure it out you’ll never distro hop again.