Update common.nix

This commit is contained in:
ediblerope 2025-12-03 10:40:34 +00:00 committed by GitHub
parent 366bb2037f
commit b69a07fa61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;