about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-21 16:12:58 +0100
committerene <ene@sils.li>2023-02-21 16:12:58 +0100
commit76ca886c411a5be15e9d2828b35dc6fb2b220cdf (patch)
tree6cf5bf82ef008b40e71f6ffb0b171391b0b53391
parentFix: add needed setting (diff)
downloadnixos-config-76ca886c411a5be15e9d2828b35dc6fb2b220cdf.zip
Fix(home-manager): Add dconf service
-rw-r--r--services/dconf/default.nix10
-rw-r--r--services/default.nix1
2 files changed, 11 insertions, 0 deletions
diff --git a/services/dconf/default.nix b/services/dconf/default.nix
new file mode 100644
index 00000000..db35208e
--- /dev/null
+++ b/services/dconf/default.nix
@@ -0,0 +1,10 @@
+{
+  config,
+  lib,
+  pkgs,
+  ...
+}: {
+  # needed to make home-manager play nice with some apps. See:
+  # https://nix-community.github.io/home-manager/index.html#_why_do_i_get_an_error_message_about_literal_ca_desrt_dconf_literal_or_literal_dconf_service_literal
+  programs.dconf.enable = true;
+}
diff --git a/services/default.nix b/services/default.nix
index edfd0155..0916bc03 100644
--- a/services/default.nix
+++ b/services/default.nix
@@ -3,5 +3,6 @@
     ./printing
     ./nix
     ./snapper
+    ./dconf
   ];
 }