workstyle: add module
This commit is contained in:
parent
480b0b2b81
commit
90e53291cb
9 changed files with 214 additions and 0 deletions
21
tests/modules/programs/workstyle/basic-configuration.nix
Normal file
21
tests/modules/programs/workstyle/basic-configuration.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
config = {
|
||||
programs.workstyle = {
|
||||
enable = true;
|
||||
settings = {
|
||||
alice = "A";
|
||||
bob = "B";
|
||||
other = {
|
||||
fallback_icon = "F";
|
||||
deduplicate_icons = false;
|
||||
separator = ": ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/workstyle/config.toml
|
||||
assertFileContent home-files/.config/workstyle/config.toml ${./basic-configuration.toml}
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue