remote-access: Add waypipe if sway enabled

Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
Ivan Bushchik 2024-01-02 17:44:11 +03:00
parent 634c5e3806
commit 36827602b6
No known key found for this signature in database
GPG key ID: 2F16FBF3262E090C

View file

@ -1,7 +1,6 @@
{ cfg, lib, ... }: { config, pkgs, lib, ... }:
let my = import ../.; {
in {
services.openssh = { services.openssh = {
enable = true; enable = true;
settings.PasswordAuthentication = false; settings.PasswordAuthentication = false;
@ -15,5 +14,6 @@ in {
''; '';
}; };
environment.systemPackages = lib.mkIf config.my.roles.graphical.enable [ pkgs.waypipe ];
programs.ssh.startAgent = true; programs.ssh.startAgent = true;
} }