mirror of
https://github.com/ivabus/nixos
synced 2024-11-22 00:15:06 +03:00
remote-access: Add waypipe if sway enabled
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
634c5e3806
commit
36827602b6
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue