mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
30 lines
635 B
Nix
30 lines
635 B
Nix
{ config, ... }:
|
|
{
|
|
programs.rio = {
|
|
enable = true;
|
|
|
|
package = config.lib.test.mkStubPackage { };
|
|
|
|
themes = {
|
|
foobar.colors = {
|
|
cyan = "#8be9fd";
|
|
green = "#50fa7b";
|
|
background = "#282a36";
|
|
};
|
|
|
|
foobar2 = ./foobar.toml;
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/rio/themes/foobar.toml
|
|
assertFileExists home-files/.config/rio/themes/foobar2.toml
|
|
|
|
assertFileContent \
|
|
home-files/.config/rio/themes/foobar.toml \
|
|
${./foobar.toml}
|
|
assertFileContent \
|
|
home-files/.config/rio/themes/foobar2.toml \
|
|
${./foobar.toml}
|
|
'';
|
|
}
|