diff options
Diffstat (limited to 'software')
-rw-r--r-- | software/tex.nix | 7 | ||||
-rw-r--r-- | software/windowmanager.nix | 20 |
2 files changed, 26 insertions, 1 deletions
diff --git a/software/tex.nix b/software/tex.nix new file mode 100644 index 0000000..0107b27 --- /dev/null +++ b/software/tex.nix @@ -0,0 +1,7 @@ +{nixpkgs, environment, pkgs, ...}: + +{ + environment.systemPackages = with pkgs; [ + texlive.combined.scheme-full + ]; +} diff --git a/software/windowmanager.nix b/software/windowmanager.nix index d43b9fe..c89913b 100644 --- a/software/windowmanager.nix +++ b/software/windowmanager.nix @@ -40,7 +40,7 @@ playerctl # control next/previous song glib # for gdbus needed by volumectl ]; - + # Screen capture/sharing: xdg.portal = { enable = true; @@ -65,4 +65,22 @@ # Force wayland on electron environment.sessionVariables.NIXOS_OZONE_WL = "1"; + # Trigger updates to waybar + services.cron = { + enable = true; + systemCronJobs = [ + # Time & Date + "* * * * * kill -42 $(pidof waybar)" + "* * * * * kill -40 $(pidof waybar)" + # Battery + "* * * * * kill -35 $(pidof waybar)" + # Yadm Dotfiles + "*/10 * * * * kill -41 $(pidof waybar)" + # Emails + "*/5 * * * * kill -46 $(pidof waybar)" + # Gentoo News + "*/30 * * * * kill -45 $(pidof waybar)" + ]; + }; + } |