Update common.nix
This commit is contained in:
parent
366bb2037f
commit
b69a07fa61
1 changed files with 15 additions and 0 deletions
15
common.nix
15
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue