mirror of
https://github.com/nix-community/home-manager
synced 2024-11-01 16:59:43 +01:00
e27be9db7b
Due to the defaults in `systemd.user.settings`, the default value when there are no settings explicitly set is `{ Manager = { }; }`. This means an empty file is created even when `systemd.user.settings` is never used in home-manager configuration. Since user’s `user.conf` is preferred to the global `/etc/systemd/user.conf`, this can cause any values set in the latter to be discarded.
8 lines
128 B
Nix
8 lines
128 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
nmt.script = ''
|
|
userConf=home-files/.config/systemd/user.conf
|
|
assertPathNotExists $userConf
|
|
'';
|
|
}
|