Multiple cfg updates
* Add hyprpaper config * Remove old monitor configs * Update waybar to use hyprland workspaces * Format waybar * Enable networkmanager * Remove KDE Plasma
This commit is contained in:
parent
d666f30475
commit
1c68fd4369
6 changed files with 43 additions and 18 deletions
17
homes/floppydisk/ssh.nix
Normal file
17
homes/floppydisk/ssh.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
nixosConfig,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
_1passwordAgent = {
|
||||
enable = nixosConfig != {} && nixosConfig.programs._1password-gui.enable && nixosConfig.programs._1password-gui.sshAgent;
|
||||
path = "${config.home.homeDirectory}/.1password/agent.sock";
|
||||
};
|
||||
in {
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
forwardAgent = _1passwordAgent.enable;
|
||||
extraConfig = lib.optionalString _1passwordAgent.enable "IdentityAgent ${_1passwordAgent.path}";
|
||||
};
|
||||
}
|
||||
Reference in a new issue