summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-01-25 12:25:09 +0100
committerMartin Fischer <martin@push-f.com>2025-01-25 12:25:20 +0100
commit2397bd866e3917d0f26b46c118b407f46d1eb097 (patch)
tree6397c176c7856e0a899cbe193cc24e12b035c9d6 /nixos
parent0fcdd5671808b950859a9ee67d7086c9fb1d0234 (diff)
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.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/profiles/workstation/graphical.nix4
1 files changed, 4 insertions, 0 deletions
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 =