Files
dotfiles/modules/laptop.nix
Kyren223 bdbde54648 Added nix LSP (nil_ls)
I love it, it just works out of the box, unlike nixd which was so broken
I couldn't get it to work, and it's so much more featureful, it has
insane autocompletion for keywords and vars and I can go to
definition/go to references on files/vars etc and it has diagnostics and
shows when there is an error, it's so much better, and it has completion
for nix options
2025-04-23 18:34:02 +03:00

22 lines
429 B
Nix

{ ... }: {
# battery levels notifier
systemd.timers."battery-notifier" = {
wantedBy = [ "timers.target" ];
timerConfig = {
OnBootSec = "3m";
OnUnitActiveSec = "3m";
Unit = "battery-notifier.service";
};
};
systemd.services."battery-notifier" = {
script = "$HOME/scripts/battery_notifier.sh";
serviceConfig = {
Type = "oneshot";
User = "kyren";
};
};
}