From b69a07fa614571cbf4b3143aaae84e02cb23b540 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Wed, 3 Dec 2025 10:40:34 +0000 Subject: [PATCH] Update common.nix --- common.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/common.nix b/common.nix index 9a484c4..48dad66 100644 --- a/common.nix +++ b/common.nix @@ -41,6 +41,21 @@ programs.dconf = { }]; }; +# Ensure dconf profile is used +environment.variables = { + DCONF_PROFILE = "user"; +}; + +# Compile dconf databases +systemd.services.dconf-update = { + description = "Update dconf databases"; + wantedBy = [ "multi-user.target" ]; + serviceConfig = { + Type = "oneshot"; + ExecStart = "${pkgs.dconf}/bin/dconf update"; + }; +}; + # Define a user account. Don't forget to set a password with ‘passwd’. users.users.fred = { isNormalUser = true;