@[email protected] to [email protected]English • 6 months agoWe've all been there...sh.itjust.worksmessage-square58fedilinkarrow-up1647file-text
arrow-up1647imageWe've all been there...sh.itjust.works@[email protected] to [email protected]English • 6 months agomessage-square58fedilinkfile-text
minus-square@[email protected]linkfedilink68•6 months agoThat’s why you put your config files in a git repository
minus-square@[email protected]linkfedilink8•edit-26 months agoWhat do you mean? My NixOS config files are in a git repository
minus-square@[email protected]linkfedilinkEnglish14•6 months agoEven the system files like those in /etc ?
minus-squareexulinkfedilinkEnglish6•6 months agoYes. I use a hacky script to copy them to the right place
minus-square@[email protected]linkfedilink6•6 months agoNo. I only set up /etc/fstab and /etc/ssh/sshd_config once and they will never change.
minus-square@[email protected]linkfedilink9•6 months agoPackage manager: This package contains an updated sshd_config file, would you like to replace your existing file with the package maintainer’s updated file? Me, every time: LOL, no
minus-square@[email protected]linkfedilinkEnglish3•6 months agoShit, thanks for reminding me. I needed to take care of some pacdiff files
minus-squaredigduglinkfedilink4•6 months agoYou could set up btrfs snapshots, too. Of course, don’t forget to take a snapshot before you break your configs.
minus-square@[email protected]linkfedilink1•6 months agoWouldn’t you need to use btrfs for that? How well does btrfs work with full disk encryption?
minus-square@[email protected]linkfedilink2•6 months agoWorks great on my laptop. It takes automatic snapshots before and after running the package manager, no problem so far.
That’s why you put your config files in a git repository
Sounds like Nixos with extra steps
What do you mean? My NixOS config files are in a git repository
Even the system files like those in /etc ?
There’s a tool for that
Of course there is. Love it.
There’s also a distro for that
I use NixOS btw ;)
Yes. I use a hacky script to copy them to the right place
I do the same thing.
No. I only set up /etc/fstab and /etc/ssh/sshd_config once and they will never change.
Package manager: This package contains an updated sshd_config file, would you like to replace your existing file with the package maintainer’s updated file?
Me, every time: LOL, no
Shit, thanks for reminding me. I needed to take care of some pacdiff files
You could set up btrfs snapshots, too. Of course, don’t forget to take a snapshot before you break your configs.
Wouldn’t you need to use btrfs for that?
How well does btrfs work with full disk encryption?
Works great on my laptop. It takes automatic snapshots before and after running the package manager, no problem so far.
deleted by creator