update to nixos 23.05

This commit is contained in:
Leonardo Eugênio 2023-06-02 22:42:56 -03:00
parent 8bbdb28d32
commit 778794f91b
11 changed files with 189 additions and 247 deletions

View file

@ -15,7 +15,7 @@ in
./theme.nix
];
config = lib.mkIf (pkgs.uservars.desktop == "sway") {
programs.mako.enable = true;
services.mako.enable = true;
services.swayidle.enable = true;
services.kanshi.enable = true;

View file

@ -4,7 +4,7 @@ let
inherit (theme) color;
in
{
programs.mako = {
services.mako = {
borderSize = 2;
padding = "5";
margin = "15";
@ -38,7 +38,7 @@ in
# # position
# layer=overlay
};
systemd.user.services.mako = lib.mkIf (config.programs.mako.enable) {
systemd.user.services.mako = lib.mkIf (config.services.mako.enable) {
Unit = {
Description = "Notification daemon";
PartOf = [ "graphical-session.target" ];