fix yakuake autostart config

This commit is contained in:
Chris Dombroski 2024-09-21 20:36:38 -04:00
parent 5d49e7a766
commit 06c4921f3f

View file

@ -1,4 +1,9 @@
{ osConfig, pkgs, ... }:
{
osConfig,
pkgs,
lib,
...
}:
{
home = {
username = "cdombroski";
@ -10,5 +15,5 @@
userName = "Chris Dombroski";
userEmail = "cdombroski@gmail.com";
};
xdg.configFile."autostart/yakuake.desktop".source = "${pkgs.yakuake}/share/applications/org.kde.yakuake.desktop";
xdg.configFile."autostart/yakuake.desktop".source = lib.mkIf osConfig.services.displayManager.enable "${pkgs.yakuake}/share/applications/org.kde.yakuake.desktop";
}