From 1c68fd4369de1980b7f3c130edee8b0ef67f743c Mon Sep 17 00:00:00 2001 From: Frankie B Date: Wed, 7 Feb 2024 01:40:31 +0000 Subject: Multiple cfg updates * Add hyprpaper config * Remove old monitor configs * Update waybar to use hyprland workspaces * Format waybar * Enable networkmanager * Remove KDE Plasma --- homes/floppydisk/ssh.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 homes/floppydisk/ssh.nix (limited to 'homes/floppydisk/ssh.nix') diff --git a/homes/floppydisk/ssh.nix b/homes/floppydisk/ssh.nix new file mode 100644 index 0000000..99e77c5 --- /dev/null +++ b/homes/floppydisk/ssh.nix @@ -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}"; + }; +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf