summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/profiles/workstation/graphical.nix4
-rw-r--r--user/sway/config3
2 files changed, 7 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 =
diff --git a/user/sway/config b/user/sway/config
index 2e4a38b..cd35364 100644
--- a/user/sway/config
+++ b/user/sway/config
@@ -1,5 +1,8 @@
# Read `man 5 sway` for a complete reference.
+exec mako # notification daemon
+exec poweralertd
+
### Variables
#
# Logo key. Use Mod1 for Alt.