mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
autostart
This commit is contained in:
parent
de8a6b665f
commit
485e4b2937
@ -14,6 +14,7 @@
|
|||||||
./home-manager.nix
|
./home-manager.nix
|
||||||
../../modules/base.nix
|
../../modules/base.nix
|
||||||
../../modules/programs.nix
|
../../modules/programs.nix
|
||||||
|
../../modules/autostart.nix
|
||||||
../../modules/fwupd.nix
|
../../modules/fwupd.nix
|
||||||
../../modules/print-and-scan.nix
|
../../modules/print-and-scan.nix
|
||||||
../../modules/fde-ssh-unlock.nix
|
../../modules/fde-ssh-unlock.nix
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
./home-manager.nix
|
./home-manager.nix
|
||||||
../../modules/base.nix
|
../../modules/base.nix
|
||||||
../../modules/programs.nix
|
../../modules/programs.nix
|
||||||
|
../../modules/autostart.nix
|
||||||
../../modules/fwupd.nix
|
../../modules/fwupd.nix
|
||||||
../../modules/print-and-scan.nix
|
../../modules/print-and-scan.nix
|
||||||
../../modules/fde-ssh-unlock.nix
|
../../modules/fde-ssh-unlock.nix
|
||||||
|
14
modules/autostart.nix
Normal file
14
modules/autostart.nix
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{ 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");
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user