back
This commit is contained in:
parent
84191dac3e
commit
dcef2f4922
|
@ -6,6 +6,5 @@
|
|||
./packages
|
||||
./misc
|
||||
./gdm
|
||||
./ssh
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
{ stdenv, pkgs, fetchFromGithub, ... }:
|
||||
|
||||
{
|
||||
programs.neovim.enable = true;
|
||||
|
||||
xdg.configFile."nvim".source = pkgs.stdenv.mkDerivation {
|
||||
name = "NvChad";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "NvChad";
|
||||
repo = "NvChad";
|
||||
rev = "f17e83010f25784b58dea175c6480b3a8225a3e9";
|
||||
hash = "sha256-P5TRjg603/7kOVNFC8nXfyciNRLsIeFvKsoRCIwFP3I=";
|
||||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r ./* $out/
|
||||
cd $out/
|
||||
cp -r ${./my_nvchad_config} $out/lua/custom
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
{ config, inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
# require public key authentication for better security
|
||||
settings.PasswordAuthentication = false;
|
||||
settings.KbdInteractiveAuthentication = true;
|
||||
#settings.PermitRootLogin = "yes";
|
||||
};
|
||||
|
||||
# users.users.joy.openssh.authorizedKeys.keys = [
|
||||
# "ssh-rsa AAAAB3Nz....6OWM= user" # content of authorized_keys file
|
||||
# note: ssh-copy-id will add user@your-machine after the public key
|
||||
# but we can remove the "@your-machine" part
|
||||
#];
|
||||
|
||||
}
|
Loading…
Reference in a new issue