Impermanence Gnome Bluetooth + Brightness

Hey there!

Does someone here use Gnome and Impermanence? If so I have a question: Which directories or files did you need to persist so that the state of Bluetooth (on/off) and the screen brightness is persisted across reboots?

It’s not a huge problem but I’d like for that to be persisted.

Thanks a lot!

Hey, welcome. I think it’s /var/lib/bluetooth for bluetooth state. Unsure about screen brightness.

Thanks! :slight_smile: I already persist /var/lib/bluetooth and it helps for persisting connected devices but not for the state itself which is a Gnome thing I believe? I basically already persist these:

      "/nix"
      "/etc/nixos/"
      "/etc/NetworkManager/" # Needed for Wifi/VPN connections in Gnome
      "/var/lib/nixos" # important nixos files like uid/gid map
      "/var/log"
      "/var/tmp"
      "/var/lib/AccountsService" # Needed to show profile picture of users
      "/var/lib/NetworkManager/" # Some additional network state
      "/var/lib/bluetooth" # Persist bluetooth connections
      "/var/lib/systemd/timers" # Persist timers like the one for system.autoUpgrade
      "/run/NetworkManager" # Some additional network state

and I also persist my home directory.