mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-26 07:14:34 +00:00
Specify all necessary dependencies for eww
This commit is contained in:
parent
d55203ed5f
commit
4af1e37781
|
@ -15,7 +15,28 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services = {
|
systemd.user.services = {
|
||||||
"eww" = {
|
"eww" = let
|
||||||
|
# All dependencies required for eww and for the scripts/widgets it uses
|
||||||
|
dependencies = with pkgs; [
|
||||||
|
python3
|
||||||
|
bash
|
||||||
|
coreutils
|
||||||
|
gnugrep
|
||||||
|
gawk
|
||||||
|
netcat-openbsd
|
||||||
|
jq
|
||||||
|
util-linux
|
||||||
|
systemd
|
||||||
|
bluez
|
||||||
|
upower
|
||||||
|
wl-gammarelay-rs
|
||||||
|
gammastep
|
||||||
|
networkmanager
|
||||||
|
wireplumber
|
||||||
|
pulseaudio
|
||||||
|
hyprland
|
||||||
|
];
|
||||||
|
in {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "ElKowar's Wacky Widgets (eww) daemon";
|
Description = "ElKowar's Wacky Widgets (eww) daemon";
|
||||||
After = [ "graphical-session-pre.target" ];
|
After = [ "graphical-session-pre.target" ];
|
||||||
|
@ -24,7 +45,8 @@ in {
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
Restart = "always";
|
Restart = "alwayss";
|
||||||
|
Environment = "PATH=/run/wrappers/bin:${lib.makeBinPath dependencies}";
|
||||||
ExecStart = pkgs.writeShellScript "eww-daemon" ''
|
ExecStart = pkgs.writeShellScript "eww-daemon" ''
|
||||||
${pkgs.eww}/bin/eww daemon --no-daemonize
|
${pkgs.eww}/bin/eww daemon --no-daemonize
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue