tests/systemd-empty-user-config: Handle default settings
The test now gracefully handles the presence of default values.
This commit is contained in:
parent
46b6ea9ccd
commit
5c46dcd50b
|
@ -1,6 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
systemd.user.settings = lib.mkForce { };
|
||||
|
||||
nmt.script = ''
|
||||
userConf=home-files/.config/systemd/user.conf
|
||||
assertPathNotExists $userConf
|
||||
|
|
Loading…
Reference in a new issue