use mako and improve starting characteristics

This commit is contained in:
Noa Aarts 2024-11-22 21:56:27 +01:00
parent df66b2b2f1
commit c03d0d2082
Signed by: noa
GPG key ID: 1850932741EFF672
4 changed files with 33 additions and 44 deletions

View file

@ -206,6 +206,10 @@ in
services = lib.mkMerge [
{
spotify = {
Install = {
WantedBy = [ "niri.service" ];
};
Unit = {
PartOf = "graphical-session.target";
After = "graphical-session.target";
@ -216,6 +220,22 @@ in
ExecStart = "spotify";
};
};
mako = {
Install = {
WantedBy = [ "niri.service" ];
};
Unit = {
PartOf = "graphical-session.target";
After = "graphical-session.target";
Requisite = "graphical-session.target";
};
Service = {
ExecStart = "${pkgs.mako}/bin/mako";
};
};
}
# makes an automapaper service and config for every monitor.
(builtins.listToAttrs (
@ -398,10 +418,6 @@ in
};
services = {
# sync my password store and homework
syncthing = {
enable = true;
};
# to make my yubikey and git signing do things correctly
gpg-agent = {
enable = true;
@ -409,5 +425,18 @@ in
enableSshSupport = true;
pinentryPackage = lib.mkIf enableGraphical pkgs.pinentry-qt;
};
# notification daemon, I think it looks better than dunst
mako = {
enable = true;
backgroundColor = "#000000AA";
# make notifications time out after 30 sec by default
defaultTimeout = 30000;
borderColor = config.colorScheme.palette.base00;
};
playerctld.enable = true;
# sync my password store and homework
syncthing = {
enable = true;
};
};
}