1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 18:59:47 +01:00

xresources: simplify tests

This commit is contained in:
Robert Helgesson 2024-12-06 12:22:03 +01:00
parent 0b42cc1b1c
commit 63eb786e04
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
2 changed files with 18 additions and 26 deletions

View file

@ -1,13 +1,9 @@
{ config, lib, ... }: { ... }:
with lib;
{ {
config = {
xresources.properties = { }; xresources.properties = { };
nmt.script = '' nmt.script = ''
assertPathNotExists home-files/.Xresources assertPathNotExists home-files/.Xresources
''; '';
};
} }

View file

@ -1,9 +1,6 @@
{ config, lib, ... }: { ... }:
with lib;
{ {
config = {
xresources = { xresources = {
properties = { properties = {
"Test*string" = "test-string"; "Test*string" = "test-string";
@ -18,5 +15,4 @@ with lib;
assertFileExists home-files/.Xresources assertFileExists home-files/.Xresources
assertFileContent home-files/.Xresources ${./xresources-expected.conf} assertFileContent home-files/.Xresources ${./xresources-expected.conf}
''; '';
};
} }