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

@ -22,7 +22,7 @@ in
inputs.stash.nixosModules.default
];
services.stasis = {
enable = true;
enable = false;
extraPathPackages = [ (config.programs.niri.package) ];
extraConfig = ''
default:
@ -44,32 +44,35 @@ in
};
quick.services = {
noti = "${getExe pkgs.swaynotificationcenter}";
shell = "${getExe pkgs.quickshell}";
pwManager = "${getExe config.apps.passwordManager}";
noti.cmd = "${getExe pkgs.swaynotificationcenter}";
shell = {
cmd = "${getExe pkgs.quickshell}";
restart = true;
};
# pwManager.cmd = "${getExe config.apps.passwordManager}";
# music = "${getExe config.apps.streamPlayer}";
};
user.systemd.services.music = {
environment.PATH = lib.mkForce "/run/current-system/sw/bin:/run/current-system/sw/sbin:/etc/profiles/per-user/${mainUser}/bin:/etc/profiles/per-user/${mainUser}/sbin";
unitConfig = {
Description = "airdrome";
Requires = [
"graphical-session.target"
];
After = [
"graphical-session.target"
"niri.target"
];
PartOf = [ "graphical-session.target" ];
};
serviceConfig = {
ExecStart = "${getExe config.apps.streamPlayer}";
Type = "forking";
};
wantedBy = [ "graphical-session.target" ];
# user.systemd.services.music = {
# environment.PATH = lib.mkForce "/run/current-system/sw/bin:/run/current-system/sw/sbin:/etc/profiles/per-user/${mainUser}/bin:/etc/profiles/per-user/${mainUser}/sbin";
# unitConfig = {
# Description = "airdrome";
# Requires = [
# "graphical-session.target"
# ];
# After = [
# "graphical-session.target"
# "niri.target"
# ];
# PartOf = [ "graphical-session.target" ];
# };
# serviceConfig = {
# ExecStart = "${getExe config.apps.streamPlayer}";
# Type = "forking";
# };
# wantedBy = [ "graphical-session.target" ];
};
# };
environment.files."/home/${mainUser}/.config/quickshell" = {
source = "/home/${mainUser}/.nix/graphical/desktop/quickshell";