europa: add traygent config
This commit is contained in:
parent
40c56e2b45
commit
a2e85c2235
@ -7,6 +7,25 @@
|
||||
}:
|
||||
let
|
||||
inherit (inputs.stable.legacyPackages.${pkgs.system}) chirp;
|
||||
inherit (builtins) toJSON readFile;
|
||||
traygentCmds = toJSON [
|
||||
{
|
||||
command_path = "${pkgs.ssh-askpass-fullscreen}/bin/ssh-askpass-fullscreen";
|
||||
event = "sign";
|
||||
msg_format = "Allow access to key %q?";
|
||||
exit_code = 0;
|
||||
}
|
||||
{
|
||||
command_path = "${pkgs.kdialog}/bin/kdialog";
|
||||
command_args = [ "--passivepopup" "SSH Key Added" "5" ];
|
||||
event = "added";
|
||||
}
|
||||
{
|
||||
command_path = "${pkgs.kdialog}/bin/kdialog";
|
||||
command_args = [ "--passivepopup" "SSH Key Removed" "5" ];
|
||||
event = "removed";
|
||||
}
|
||||
];
|
||||
#myEmacs = pkgs.callPackage ../../configs/emacs.nix { };
|
||||
#doom-emacs = inputs.nix-doom-emacs.packages.${pkgs.system}.default.override {
|
||||
# doomPrivateDir = ../../configs/doom.d;
|
||||
@ -277,7 +296,8 @@ in
|
||||
];
|
||||
|
||||
environment = {
|
||||
etc."barrier.conf" = { text = builtins.readFile ../../configs/barrier.conf; };
|
||||
etc."barrier.conf" = { text = readFile ../../configs/barrier.conf; };
|
||||
etc."traygent.json" = { text = traygentCmds; };
|
||||
sessionVariables = {
|
||||
XDG_BIN_HOME = "\${HOME}/.local/bin";
|
||||
XDG_CACHE_HOME = "\${HOME}/.cache";
|
||||
|
Loading…
Reference in New Issue
Block a user