From 26b9cc782c51f352c46e5cb644a6a599de4f6199 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sat, 31 Aug 2024 13:18:41 +0200 Subject: [PATCH] gnome dconf backup restore diff --- .gitignore | 2 +- dconf/.gitkeep | 0 modules/gnome-config.nix | 8 ++++---- 3 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 dconf/.gitkeep diff --git a/.gitignore b/.gitignore index d6d1315..79d835f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ /.idea/ /secrets/ /result -/dconf-*.ini \ No newline at end of file +/dconf/* diff --git a/dconf/.gitkeep b/dconf/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/modules/gnome-config.nix b/modules/gnome-config.nix index 501c32d..41bf7e4 100644 --- a/modules/gnome-config.nix +++ b/modules/gnome-config.nix @@ -10,16 +10,16 @@ # To add new config changes to NixOS: # - Dump current settings - # dconf dump / > dconf-old.ini + # dconf dump / > dconf/old.ini # - Change a setting, e.g. with dconf-editir # - Dump new settings - # dconf dump / > dconf-new.ini + # dconf dump / > dconf/new.ini # - Display changes - # diff --context=5 dconf-old.ini dconf-new.ini + # diff --context=5 dconf/old.ini dconf/new.ini # - Add to `dconf.settings` below. # Restore settings: - # dconf load / < dconf-old.ini + # dconf load / < dconf/old.ini programs.dconf.enable = true;