Less Ties With A Machine - Desktop Customization & Workflow
Users browsing this thread: 1 Guest(s)
|
|||
I try to set up my digital home with few dotfiles. There is a common denominator for configuration in UNIX called environment variables. It is not as complex as Windows Registers and not as widely used. But I try to rely on them as most as I can, because it is easy to move configuration back and forth when all you need to change is the script you call to set those variables.
I keep the notes on how to set up my digital home in a home.txt file. All my system revolves around three scripts: profile, which set the variables; session, which sets a terminal session; and this Rube Goldberg machine I call xsession, which sets a X11 session. All scripts depend on programs that can be used as is, with as little configuration as possible. The script gluing them together is how I configure them. |
|||
|
|||
(26-04-2021, 10:57 AM)venam Wrote: Alright, one of my favorite thread. I used to use NixOS, and from my experience with it, I'd recommend playing around with the (unstable) Flakes feature, which can be used to set up a new machine running NixOS with all of your dotfiles on it and all of your packages installed. Along with this feature, I wrote a small shell script to run nix commands and sync my dotfiles, so instead of having to type out all the separate nix and git commands I could run Code: script rebuild Code: script sync Code: script clean |
|||
|
|||
(19-08-2021, 07:41 AM)_-_Specter_-_ Wrote: I'd recommend playing around with the (unstable) Flakes feature, which can be used to set up a new machine running NixOS with all of your dotfiles on it and all of your packages installed. Does that work with other version control systems than Git? -- <mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen |
|||
|
|||
(19-08-2021, 12:17 PM)jkl Wrote:(19-08-2021, 07:41 AM)_-_Specter_-_ Wrote: I'd recommend playing around with the (unstable) Flakes feature, which can be used to set up a new machine running NixOS with all of your dotfiles on it and all of your packages installed. I don't see any reason why it shouldn't. I personally haven't tested other vcs, but pairing flakes with Home-manager to manage dotfiles via symlinks should work with any vcs, and even no vcs at all. |
|||