pwa module, jay, many thing

This commit is contained in:
atagen 2026-03-09 13:58:20 +11:00
parent d4d04d7d6d
commit 6271f4b54a
32 changed files with 5580 additions and 333 deletions

View file

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