tests/systemd-empty-user-config: Handle default settings

The test now gracefully handles the presence of default values.
This commit is contained in:
nicoo 2024-06-16 17:42:45 +00:00
parent 46b6ea9ccd
commit 5c46dcd50b

View file

@ -1,6 +1,8 @@
{ pkgs, ... }:
{ lib, ... }:
{
systemd.user.settings = lib.mkForce { };
nmt.script = ''
userConf=home-files/.config/systemd/user.conf
assertPathNotExists $userConf