mirror of
https://github.com/nix-community/home-manager
synced 2024-11-15 07:39:46 +01:00
8ab4e866f5
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
|
|
'';
|
|
}
|