mirror of
https://github.com/nix-community/home-manager
synced 2024-08-22 03:56:30 +02:00
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.
9 lines
128 B
Nix
9 lines
128 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
nmt.script = ''
|
|
userConf=home-files/.config/systemd/user.conf
|
|
assertPathNotExists $userConf
|
|
'';
|
|
}
|