nix-git/modules/autostart.nix

15 lines
522 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.
# 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");
};
};
}