nix-git/modules/autostart.nix

31 lines
1.4 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.
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
2023-10-19 14:09:14 +02:00
home.file."keepassxc" = {
target = ".config/autostart/org.keepassxc.KeePassXC.desktop";
source = (pkgs.keepassxc + "/share/applications/org.keepassxc.KeePassXC.desktop");
2023-10-19 14:27:47 +02:00
};
2023-10-19 14:09:14 +02:00
# home.file."gnome-secrets" = {
# 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-10-19 14:27:47 +02:00
# 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-beta" = lib.mkIf (osConfig.networking.hostName == "yodaTux") {
target = ".config/autostart/" + pkgs.signal-desktop-beta.pname + ".desktop";
source = (pkgs.signal-desktop-beta + "/share/applications/" + pkgs.signal-desktop-beta.pname + ".desktop");
2023-10-09 13:04:45 +02:00
};
home.file."thunderbird" = lib.mkIf (osConfig.networking.hostName == "yodaTux") {
target = ".config/autostart/" + pkgs.thunderbird.pname + ".desktop";
source = (pkgs.thunderbird + "/share/applications/" + pkgs.thunderbird.pname + ".desktop");
2023-09-11 17:20:17 +02:00
};
2023-09-07 20:20:29 +02:00
};
}