0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 7 months agoWe've all been there...sh.itjust.worksexternal-linkmessage-square58fedilinkarrow-up1653arrow-down15file-text
arrow-up1648arrow-down1external-linkWe've all been there...sh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 7 months agomessage-square58fedilinkfile-text
minus-squared_k_bo@feddit.delinkfedilinkarrow-up68·7 months agoThat’s why you put your config files in a git repository
minus-squareskulbuny@sh.itjust.workslinkfedilinkEnglisharrow-up39·7 months agoSounds like Nixos with extra steps
minus-squareiopq@lemmy.worldlinkfedilinkarrow-up8·edit-27 months agoWhat do you mean? My NixOS config files are in a git repository
minus-squarestepan@lemmy.cafelinkfedilinkEnglisharrow-up15·7 months agoEven the system files like those in /etc ?
minus-squarePoolloverNathan@programming.devlinkfedilinkarrow-up4·7 months agoThere’s also a distro for that
minus-squared_k_bo@feddit.delinkfedilinkarrow-up7·7 months agoNo. I only set up /etc/fstab and /etc/ssh/sshd_config once and they will never change.
minus-squareherrcaptain@lemmy.calinkfedilinkarrow-up9·7 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-squarefossphi@lemm.eelinkfedilinkEnglisharrow-up3·7 months agoShit, thanks for reminding me. I needed to take care of some pacdiff files
minus-squareexu@feditown.comlinkfedilinkEnglisharrow-up6·7 months agoYes. I use a hacky script to copy them to the right place
minus-squaredigdug@kbin.sociallinkfedilinkarrow-up4·7 months agoYou could set up btrfs snapshots, too. Of course, don’t forget to take a snapshot before you break your configs.
minus-squarelud@lemm.eelinkfedilinkarrow-up1·7 months agoWouldn’t you need to use btrfs for that? How well does btrfs work with full disk encryption?
minus-squareloutr@sh.itjust.workslinkfedilinkarrow-up2·7 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 ;)
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
Yes. I use a hacky script to copy them to the right place
I do the same thing.
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