nix-git/modules/autostart.nix

41 lines
1.6 KiB
Nix
Raw Normal View History

2023-09-07 20:20:29 +02:00
{ config, pkgs, lib, ... }:
{
# See also:
# Temporary workaround until https://github.com/nix-community/home-manager/issues/3447 is merged.
2023-11-22 15:29:36 +01:00
# Desktop files:
# /run/current-system/sw/share/applications
# /etc/profiles/per-user/yoda/share/applications/
2023-09-07 20:20:29 +02:00
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
2023-12-25 11:47:00 +01:00
home.file."keepassxc" = {
target = ".config/autostart/org.keepassxc.KeePassXC.desktop";
source = (pkgs.keepassxc + "/share/applications/org.keepassxc.KeePassXC.desktop");
};
# home.file."org.gnome.World.Secrets" = {
2023-10-19 14:09:14 +02:00
# target = ".config/autostart/org.gnome.World.Secrets.desktop";
# source = (pkgs.gnome-secrets + "/share/applications/org.gnome.World.Secrets.desktop");
# };
2023-09-07 21:29:50 +02:00
2023-12-20 17:54:57 +01:00
home.file."signal-desktop" = lib.mkIf (osConfig.networking.hostName == "yodaTux") {
2023-12-25 11:47:00 +01:00
target = ".config/autostart/signal-desktop.desktop";
source = (pkgs.signal-desktop + "/share/applications/signal-desktop.desktop");
2023-10-09 13:04:45 +02:00
};
home.file."thunderbird" = lib.mkIf (osConfig.networking.hostName == "yodaTux") {
2023-12-25 11:47:00 +01:00
target = ".config/autostart/thunderbird.desktop";
source = (pkgs.thunderbird + "/share/applications/thunderbird.desktop");
2023-09-11 17:20:17 +02:00
};
2023-11-22 15:29:36 +01:00
2023-12-25 11:47:00 +01:00
home.file."org.gnome.Solanum" = {
2023-11-22 15:29:36 +01:00
target = ".config/autostart/org.gnome.Solanum.desktop";
source = (pkgs.gnome-solanum + "/share/applications/org.gnome.Solanum.desktop");
};
2023-12-25 11:47:00 +01:00
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");
};
2023-09-07 20:20:29 +02:00
};
}