use mako and improve starting characteristics
This commit is contained in:
parent
df66b2b2f1
commit
c03d0d2082
4 changed files with 33 additions and 44 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,6 +4,5 @@
|
|||
./waybar
|
||||
./applications
|
||||
./games
|
||||
./dunst.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,37 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.dunst;
|
||||
in
|
||||
{
|
||||
options.modules.dunst = {
|
||||
enable = lib.mkEnableOption "enable dunst for notifications";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.dunst = {
|
||||
enable = true;
|
||||
# settings = {
|
||||
# global = {
|
||||
# width = 300;
|
||||
# height = 300;
|
||||
# offset = "30x50";
|
||||
# origin = "top-right";
|
||||
# transparency = 10;
|
||||
# frame_color = "#293929";
|
||||
# font = "Droid Sans 9";
|
||||
# };
|
||||
#
|
||||
# urgency_normal = {
|
||||
# background = "#37474f";
|
||||
# foreground = "#293929";
|
||||
# timeout = 10;
|
||||
# };
|
||||
# };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -12,8 +12,6 @@ let
|
|||
autostart-string =
|
||||
"spawn-at-startup \""
|
||||
+ pkgs.lib.strings.concatStringsSep "\nspawn-at-startup \"" [
|
||||
"${pkgs.dunst}/bin/dunst\""
|
||||
"spotify\""
|
||||
"keepassxc\""
|
||||
"thunderbird\""
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue