1
Fork 0
satellite/home/features/desktop/eww/default.nix
2023-05-28 02:00:10 +02:00

19 lines
403 B
Nix

{ config, pkgs, ... }:
let
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
(include ${base16-eww})
# My widgets
(include ${widgets}/dashboard)
'';
}