amoco: add module
This commit is contained in:
parent
6c5025e2bb
commit
c6f8669f09
4 changed files with 54 additions and 0 deletions
1
tests/modules/programs/amoco/config
Normal file
1
tests/modules/programs/amoco/config
Normal file
|
|
@ -0,0 +1 @@
|
|||
print("No example config found!")
|
||||
1
tests/modules/programs/amoco/default.nix
Normal file
1
tests/modules/programs/amoco/default.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ amoco-settings = ./settings.nix; }
|
||||
14
tests/modules/programs/amoco/settings.nix
Normal file
14
tests/modules/programs/amoco/settings.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
programs.amoco = {
|
||||
enable = true;
|
||||
config = ''
|
||||
print("No example config found!")
|
||||
'';
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/amoco/config
|
||||
assertFileContent home-files/.config/amoco/config \
|
||||
${./config}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue