before we get too crazy

This commit is contained in:
atagen 2026-02-25 14:53:38 +11:00
parent fe668b5b9e
commit 453d780695
21 changed files with 612 additions and 291 deletions

View file

@ -1,5 +1,26 @@
{ pkgs, lib, ... }:
{
quick.services.startup-sound = "${lib.getExe' pkgs.alsa-utils "aplay"} " + ../assets/startup.wav;
# FIXME broken , maybe use niri exec-once ..
pkgs,
lib,
scope,
...
}:
scope "user.systemd.services.startup-sound"
<| {
unitConfig = {
Description = "startup sound";
Requires = [
"graphical-session.target"
];
After = [
"graphical-session.target"
"niri.target"
"sound.target"
];
PartOf = [ "graphical-session.target" ];
};
serviceConfig = {
ExecStart = "${lib.getExe' pkgs.alsa-utils "aplay"} " + ../assets/startup.wav;
Type = "oneshot";
};
wantedBy = [ "graphical-session.target" ];
}