summaryrefslogtreecommitdiff
path: root/hosts/laptop-nixos/configuration.nix
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-11-21 13:05:11 +0200
committerKyren223 <Kyren223@proton.me>2024-11-21 13:05:11 +0200
commit02624d8bde783406127bb5265d2cdd9d38165a6f (patch)
tree757ab4f37ed99a9961320fdc5e0efb3787a161a8 /hosts/laptop-nixos/configuration.nix
parentd2608358a289343cba5d7a43b3b636cffd8cbd99 (diff)
Tied up notification thing
Diffstat (limited to 'hosts/laptop-nixos/configuration.nix')
-rw-r--r--hosts/laptop-nixos/configuration.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/hosts/laptop-nixos/configuration.nix b/hosts/laptop-nixos/configuration.nix
index 949f643..ee63813 100644
--- a/hosts/laptop-nixos/configuration.nix
+++ b/hosts/laptop-nixos/configuration.nix
@@ -120,12 +120,7 @@
};
systemd.services."battery-notifier" = {
- script = ''
- set -eu
- export DISPLAY=:0.0
- touch $HOME/Desktop/EEEEEEE
- $HOME/scripts/battery_notifier.sh
- '';
+ script = "$HOME/scripts/battery_notifier.sh";
serviceConfig = {
Type = "oneshot";
User = "kyren";