mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-06 17:11:03 +01:00
tests: implement auto importing for modules
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
4fca600cb1
commit
06c1392ca8
275 changed files with 752 additions and 573 deletions
18
tests/modules/services/labwc/labwc-environment.nix
Normal file
18
tests/modules/services/labwc/labwc-environment.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
wayland.windowManager.labwc = {
|
||||
enable = true;
|
||||
package = null;
|
||||
xwayland.enable = false;
|
||||
environment = [
|
||||
"XDG_CURRENT_DESKTOP=labwc:wlroots"
|
||||
"XKB_DEFAULT_LAYOUT=us"
|
||||
];
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
labwcEnvironment=home-files/.config/labwc/environment
|
||||
|
||||
assertFileExists "$labwcEnvironment"
|
||||
assertFileContent "$labwcEnvironment" "${./environment}"
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue