swaylock: add enable and package option
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
75f4f362e1
commit
2df3d5d39c
5 changed files with 87 additions and 31 deletions
10
tests/modules/programs/swaylock/enabled.nix
Normal file
10
tests/modules/programs/swaylock/enabled.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ config, ... }: {
|
||||
programs.swaylock = {
|
||||
enable = true;
|
||||
package = config.lib.test.mkStubPackage { };
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertPathNotExists home-files/.config/swaylock/config
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue