Rename mkTarget's 'configElements' argument to 'config' and 'extraOptions' to 'options' to provide a more transparent interface with the underlying Nixpkgs module system.
35 lines
697 B
Nix
35 lines
697 B
Nix
{ mkTarget, ... }:
|
|
mkTarget {
|
|
name = "ashell";
|
|
humanName = "Ashell";
|
|
|
|
config = [
|
|
(
|
|
{ colors }:
|
|
{
|
|
programs.ashell.settings.appearance = with colors.withHashtag; {
|
|
background_color = base00;
|
|
primary_color = base0D;
|
|
secondary_color = base01;
|
|
success_color = base0B;
|
|
danger_color = base09;
|
|
text_color = base05;
|
|
|
|
workspace_colors = [
|
|
base09
|
|
base0D
|
|
];
|
|
};
|
|
}
|
|
)
|
|
(
|
|
{ opacity }:
|
|
{
|
|
programs.ashell.settings.appearance = {
|
|
opacity = opacity.desktop;
|
|
menu.opacity = opacity.desktop;
|
|
};
|
|
}
|
|
)
|
|
];
|
|
}
|