mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-22 22:09:34 +01:00
autostart
This commit is contained in:
parent
adfdc2aa5a
commit
447a27e377
@ -5,14 +5,19 @@
|
|||||||
# Temporary workaround until https://github.com/nix-community/home-manager/issues/3447 is merged.
|
# Temporary workaround until https://github.com/nix-community/home-manager/issues/3447 is merged.
|
||||||
|
|
||||||
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
||||||
home.file.signal-desktop = {
|
home.file."keepassxc" = {
|
||||||
target = ".config/autostart/" + "signal-desktop" + ".desktop";
|
target = ".config/autostart/org.keepassxc.KeePassXC.desktop";
|
||||||
source = (pkgs.signal-desktop + "/share/applications/" + "signal-desktop" + ".desktop");
|
source = (pkgs.keepassxc + "/share/applications/org.keepassxc.KeePassXC.desktop");
|
||||||
};
|
};
|
||||||
|
|
||||||
home.file.keepassxc = {
|
home.file."signal-desktop" = lib.mkIf (osConfig.networking.hostName == "yodaTux") {
|
||||||
target = ".config/autostart/" + "org.keepassxc.KeePassXC" + ".desktop";
|
target = ".config/autostart/" + pkgs.signal-desktop.pname + ".desktop";
|
||||||
source = (pkgs.keepassxc + "/share/applications/" + "org.keepassxc.KeePassXC" + ".desktop");
|
source = (pkgs.signal-desktop + "/share/applications/" + pkgs.signal-desktop.pname + ".desktop");
|
||||||
|
};
|
||||||
|
|
||||||
|
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");
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user