more work on neovim config, added keyboard sound thing for kitty

This commit is contained in:
2026-03-08 03:57:31 -04:00
parent bf22e791d1
commit 4308b8eb16
55 changed files with 411 additions and 142 deletions

View File

@@ -1,5 +1,9 @@
{ pkgs, self, ... }:
let
pythonWithPkgs = pkgs.python3.withPackages (p: [ p.evdev ]);
keyboardSfxScript = "${self}/assets/scripts/keyboard_sound_thing.py";
in
{
systemd.user = {
timers = {
@@ -13,26 +17,11 @@
};
};
services = {
loginSound = {
Unit= {
Description = "Plays a sound on login";
After = [ "graphical-session.target" ];
WantedBy = [ "graphical-session.target" ];
};
Service = {
ExecStart = "${pkgs.alsa-utils}/bin/aplay -qN ${self}/assets/sound/login.wav";
Type = "simple";
};
};
maintenanceCheck = {
Unit = {
Description = "Check for updates in my maintained packages";
};
Service = {
ExecStart = "${pkgs.nix}/bin/nix-shell -p python3Packages.requests --run '${pkgs.python311}/bin/python ${pkgs.myScripts.check_updates}/bin/checkupdates.py'";
Type = "simple";
kitty-keyboard-sounds = {
description = "Keyboard sound effects for kitty";
wantedBy = [ "hyprland-session.target" ];
serviceConfig = {
ExecStart = "${pythonWithPkgs}/bin/python3 ${keyboardSfxScript}";
};
};
};