From 0634dbc37c4a2e6b107a0e617a07d6bb1f9c5b95 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 7 Sep 2023 21:24:13 +0200 Subject: [PATCH 1/2] autostart signal-desktop --- modules/autostart.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/autostart.nix b/modules/autostart.nix index 5ce9aed..bc336b6 100644 --- a/modules/autostart.nix +++ b/modules/autostart.nix @@ -3,12 +3,11 @@ { # See also: # Temporary workaround until https://github.com/nix-community/home-manager/issues/3447 is merged. - # The keepassxc desktop file is named differently than pkg.name. Thus we add it manually. home-manager.users.yoda = { osConfig, config, pkgs, ... }: { - home.file.keepassxc = { - target = ".config/autostart/" + "org.keepassxc.KeePassXC" + ".desktop"; - source = (pkgs.keepassxc + "/share/applications/" + "org.keepassxc.KeePassXC" + ".desktop"); + home.file.signal-desktop = { + target = ".config/autostart/" + "signal-desktop" + ".desktop"; + source = (pkgs.signal-desktop + "/share/applications/" + "signal-desktop" + ".desktop"); }; }; } From 74363ac3da2b2ec263571e39954c209d6ee30f75 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 7 Sep 2023 21:29:50 +0200 Subject: [PATCH 2/2] autostart bug --- modules/autostart.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/autostart.nix b/modules/autostart.nix index bc336b6..27f188f 100644 --- a/modules/autostart.nix +++ b/modules/autostart.nix @@ -9,5 +9,11 @@ target = ".config/autostart/" + "signal-desktop" + ".desktop"; source = (pkgs.signal-desktop + "/share/applications/" + "signal-desktop" + ".desktop"); }; + + # 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"); + #}; }; }