Moved user modules
This commit is contained in:
1 parent
9352fa2649
commit
0932432e11
80 files changed
+64
-6
No files matched your search
@@ -0,0 +1,31 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.mako;
|
||||
theme = config.theming;
|
||||
colors = theme.colors;
|
||||
in
|
||||
{
|
||||
options.modules.mako.enable = mkEnableOption "mako";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.mako = {
|
||||
enable = true;
|
||||
anchor = "top-right";
|
||||
defaultTimeout = 5000;
|
||||
backgroundColor = "#${colors.bg}ff";
|
||||
textColor = "#${colors.fg}ff";
|
||||
borderColor = "#${colors.fg}ff";
|
||||
progressColor = "#${colors.accent}ff";
|
||||
borderRadius = 0;
|
||||
borderSize = theme.layout.borderSize;
|
||||
font = "${theme.fonts.monospace.name} ${toString theme.fonts.monospace.recommendedSize}";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user