enable ssh for local machines
This commit is contained in:
parent
7721a89e13
commit
7c880acb11
3 changed files with 10 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
|||
{ config, pkgs, lib, inputs, extraHomeModule ? null, ... }:
|
||||
|
||||
|
||||
let
|
||||
data = import ../../../data.nix;
|
||||
in
|
||||
{
|
||||
nixpkgs.overlays = lib.mkAfter [
|
||||
inputs.myneovim.overlays.default
|
||||
|
@ -21,6 +25,8 @@
|
|||
];
|
||||
shell = pkgs.zsh;
|
||||
passwordFile = config.age.secrets.users-jan-passfile.path;
|
||||
|
||||
openssh.authorizedKeys.keys = data.publicKeys.users.jan;
|
||||
};
|
||||
|
||||
home-manager.users.jan = { lib, ... }: {
|
||||
|
|
|
@ -55,6 +55,8 @@
|
|||
HandlePowerKey=ignore
|
||||
'';
|
||||
|
||||
services.openssh.enable = true;
|
||||
|
||||
# Enable the Docker
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
|
|
|
@ -43,6 +43,8 @@
|
|||
|
||||
local.nix.allowUnfreePackages = [ "cnijfilter2" ];
|
||||
|
||||
services.openssh.enable = true;
|
||||
|
||||
services = {
|
||||
avahi = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue