I have a dedicated laptop at home to experiment with NixOS. I created a private gitlab repository to version it and keep track of the changes.
Sometimes I won’t have access to the laptop but I have an idea I want to try out that would require modifying the configuration and then testing it (this generally happens when I’m on lunch break at work )
I thought of maybe using a nix-shell script on my work laptop to replicate parts of my personal laptop’s config, at least the terminal emulator, shell and commands and TUI tools I use. This would allow me to make changes like adding an extra plugin in my neovim config, quickly test that it works and then commit the new version of the config. I could then pull the changes at home and know it’ll work as expected.
Is this possible and if so, how would I go about it ? Mind you I’m quite new to nix so there may be notions I don’t have that would make this trivial.