autostart packages

This commit is contained in:
Daniel Langbein 2023-12-25 11:47:00 +01:00
parent 06e1ce0039
commit 4494a65d48
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -8,32 +8,33 @@
# /etc/profiles/per-user/yoda/share/applications/ # /etc/profiles/per-user/yoda/share/applications/
home-manager.users.yoda = { osConfig, config, pkgs, ... }: { home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
home.file."keepassxc" = { home.file."keepassxc" = {
target = ".config/autostart/org.keepassxc.KeePassXC.desktop"; target = ".config/autostart/org.keepassxc.KeePassXC.desktop";
source = (pkgs.keepassxc + "/share/applications/org.keepassxc.KeePassXC.desktop"); source = (pkgs.keepassxc + "/share/applications/org.keepassxc.KeePassXC.desktop");
}; };
# home.file."gnome-secrets" = { # home.file."org.gnome.World.Secrets" = {
# target = ".config/autostart/org.gnome.World.Secrets.desktop"; # target = ".config/autostart/org.gnome.World.Secrets.desktop";
# source = (pkgs.gnome-secrets + "/share/applications/org.gnome.World.Secrets.desktop"); # source = (pkgs.gnome-secrets + "/share/applications/org.gnome.World.Secrets.desktop");
# }; # };
# home.file."signal-desktop" = lib.mkIf (osConfig.networking.hostName == "yodaTux") {
# target = ".config/autostart/" + pkgs.signal-desktop.pname + ".desktop";
# source = (pkgs.signal-desktop + "/share/applications/" + pkgs.signal-desktop.pname + ".desktop");
# };
home.file."signal-desktop" = lib.mkIf (osConfig.networking.hostName == "yodaTux") { home.file."signal-desktop" = lib.mkIf (osConfig.networking.hostName == "yodaTux") {
target = ".config/autostart/" + pkgs.signal-desktop.pname + ".desktop"; target = ".config/autostart/signal-desktop.desktop";
source = (pkgs.signal-desktop + "/share/applications/" + pkgs.signal-desktop.pname + ".desktop"); source = (pkgs.signal-desktop + "/share/applications/signal-desktop.desktop");
}; };
home.file."thunderbird" = lib.mkIf (osConfig.networking.hostName == "yodaTux") { home.file."thunderbird" = lib.mkIf (osConfig.networking.hostName == "yodaTux") {
target = ".config/autostart/" + pkgs.thunderbird.pname + ".desktop"; target = ".config/autostart/thunderbird.desktop";
source = (pkgs.thunderbird + "/share/applications/" + pkgs.thunderbird.pname + ".desktop"); source = (pkgs.thunderbird + "/share/applications/thunderbird.desktop");
}; };
home.file."gnome-solanum" = { home.file."org.gnome.Solanum" = {
target = ".config/autostart/org.gnome.Solanum.desktop"; target = ".config/autostart/org.gnome.Solanum.desktop";
source = (pkgs.gnome-solanum + "/share/applications/org.gnome.Solanum.desktop"); source = (pkgs.gnome-solanum + "/share/applications/org.gnome.Solanum.desktop");
}; };
home.file."org.gnome.Fractal" = lib.mkIf (osConfig.networking.hostName == "yodaTux") {
target = ".config/autostart/org.gnome.Fractal.desktop";
source = (pkgs.fractal + "/share/applications/org.gnome.Fractal.desktop");
};
}; };
} }