Format everything with alejandra
This commit is contained in:
parent
82bbd7ce87
commit
7888103b1e
100 changed files with 2827 additions and 2756 deletions
|
|
@ -1,21 +1,23 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.ssh.startAgent = true;
|
||||
/*
|
||||
Home assistant added an option that does this
|
||||
https://github.com/nix-community/home-manager/commit/2d9210f25ed18d5d4e11e6b886de4027c0c51a94
|
||||
but since I still need to fix home-manager's envvars not applying I'll stick to the NixOS one
|
||||
*/
|
||||
/*
|
||||
TODO: fix SSH_AUTH_SOCK not being set in Plasma
|
||||
Turns out the NixOS module also has issues :3
|
||||
The env is set but only in bash, not in the DE, so
|
||||
keepass can't pick it up. For now I'll just set it manually
|
||||
*/
|
||||
home-manager.users.toast.xdg.configFile."plasma-workspace/env/ssh-agent.sh".text = ''
|
||||
if [[ -z "$SSH_AUTH_SOCK" ]]; then
|
||||
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent
|
||||
fi
|
||||
'';
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.ssh.startAgent = true;
|
||||
/*
|
||||
Home assistant added an option that does this
|
||||
https://github.com/nix-community/home-manager/commit/2d9210f25ed18d5d4e11e6b886de4027c0c51a94
|
||||
but since I still need to fix home-manager's envvars not applying I'll stick to the NixOS one
|
||||
*/
|
||||
/*
|
||||
TODO: fix SSH_AUTH_SOCK not being set in Plasma
|
||||
Turns out the NixOS module also has issues :3
|
||||
The env is set but only in bash, not in the DE, so
|
||||
keepass can't pick it up. For now I'll just set it manually
|
||||
*/
|
||||
home-manager.users.toast.xdg.configFile."plasma-workspace/env/ssh-agent.sh".text = ''
|
||||
if [[ -z "$SSH_AUTH_SOCK" ]]; then
|
||||
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent
|
||||
fi
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue