nix-git/modules/autostart.nix

20 lines
774 B
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-09-07 21:24:13 +02:00
home.file.signal-desktop = {
target = ".config/autostart/" + "signal-desktop" + ".desktop";
source = (pkgs.signal-desktop + "/share/applications/" + "signal-desktop" + ".desktop");
2023-09-07 20:20:29 +02:00
};
2023-09-07 21:29:50 +02:00
# TODO: This is very strange. But with KeePassXC autostart enabled, `gpg --card-status` does not detect my Nitrokey USB smartcard!
#home.file.keepassxc = {
# target = ".config/autostart/" + "org.keepassxc.KeePassXC" + ".desktop";
# source = (pkgs.keepassxc + "/share/applications/" + "org.keepassxc.KeePassXC" + ".desktop");
#};
2023-09-07 20:20:29 +02:00
};
}