From 36827602b678a043e565cf67c17ddc4e6c724ca5 Mon Sep 17 00:00:00 2001 From: Ivan Bushchik Date: Tue, 2 Jan 2024 17:44:11 +0300 Subject: [PATCH] remote-access: Add waypipe if sway enabled Signed-off-by: Ivan Bushchik --- common/remote-access.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/remote-access.nix b/common/remote-access.nix index 1151afe..e8c42e0 100644 --- a/common/remote-access.nix +++ b/common/remote-access.nix @@ -1,7 +1,6 @@ -{ cfg, lib, ... }: +{ config, pkgs, lib, ... }: -let my = import ../.; -in { +{ services.openssh = { enable = true; settings.PasswordAuthentication = false; @@ -15,5 +14,6 @@ in { ''; }; + environment.systemPackages = lib.mkIf config.my.roles.graphical.enable [ pkgs.waypipe ]; programs.ssh.startAgent = true; }