From 2397bd866e3917d0f26b46c118b407f46d1eb097 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 25 Jan 2025 12:25:09 +0100 Subject: feat(workstation): add poweralertd My laptop died on me a couple times while I was working because it didn't complain about the running out battery. --- nixos/profiles/workstation/graphical.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nixos/profiles/workstation/graphical.nix') diff --git a/nixos/profiles/workstation/graphical.nix b/nixos/profiles/workstation/graphical.nix index 1e7944c..0aba4a4 100644 --- a/nixos/profiles/workstation/graphical.nix +++ b/nixos/profiles/workstation/graphical.nix @@ -32,8 +32,12 @@ # set and forget i3status-rust + mako + poweralertd ]; + services.upower.enable = true; + # This generates /etc/xdg/mimeapps.list. The XDG spec and xdg-open don't support wildcards in MIME types. # TODO: use an xdg-open alternative that supports wildcards in MIME types and doesn't use mimeapps.list xdg.mime.defaultApplications = -- cgit v1.2.3