Steam Deck: add configuration to preserve etc files starting with SteamOS 3.6 #12

Open
opened 2024-05-21 04:57:36 +00:00 by ihaveamac · 1 comment

Starting with SteamOS 3.6, files in /etc are now preserved on a whitelist (with files not in it moved to /etc/previous). Currently as of this beta these nix-related files are not kept:

  • /etc/profile.d/nix.sh
  • /etc/fish/conf.d/nix.fish
  • /etc/nix/
  • /etc/systemd/system/nix-daemon.socket (the .service is kept)
  • /etc/tmpfiles.d/nix-daemon.conf

A file can be created inside /etc/atomic-update.conf.d/ to keep these on updates.

Since 3.6 is a beta, the default list might change, so it might be a good idea to wait and see first.

Beta notes for 3.6.0: https://store.steampowered.com/news/app/1675200/view/4213757668851885208

The default list of preserved files: https://gist.github.com/ihaveamac/871bba4e0627112581c78871c540abbc

Starting with SteamOS 3.6, files in /etc are now preserved on a whitelist (with files not in it moved to /etc/previous). Currently as of this beta these nix-related files are not kept: * /etc/profile.d/nix.sh * /etc/fish/conf.d/nix.fish * /etc/nix/ * /etc/systemd/system/nix-daemon.socket (the .service is kept) * /etc/tmpfiles.d/nix-daemon.conf A file can be created inside /etc/atomic-update.conf.d/ to keep these on updates. Since 3.6 is a beta, the default list might change, so it might be a good idea to wait and see first. Beta notes for 3.6.0: https://store.steampowered.com/news/app/1675200/view/4213757668851885208 The default list of preserved files: https://gist.github.com/ihaveamac/871bba4e0627112581c78871c540abbc
Author

Testing again, it also needs to preserve these files which were removed following an OS update:

  • /etc/bashrc
  • /etc/zsh/zshrc
  • /etc/zshrc
Testing again, it also needs to preserve these files which were removed following an OS update: * /etc/bashrc * /etc/zsh/zshrc * /etc/zshrc
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix-installer#12
No description provided.