1
Fork 0
satellite/home/adrielus/features/desktop/common/eww/default.nix

19 lines
403 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
let
2023-03-12 05:24:25 +01:00
base16-eww = config.lib.stylix.colors {
template = builtins.readFile ./template.yuck;
};
widgets = config.satellite-dev.path "home/adrielus/features/desktop/common/eww/widgets";
in
{
home.packages = [ pkgs.eww ];
xdg.configFile."eww/eww.yuck".text = ''
# Color scheme
2023-03-12 05:24:25 +01:00
(include ${base16-eww})
# My widgets
(include ${widgets}/dashboard)
'';
}