This commit is contained in:
joygnu 2024-07-04 12:51:49 +02:00
parent 84191dac3e
commit dcef2f4922
3 changed files with 0 additions and 41 deletions

View file

@ -6,6 +6,5 @@
./packages
./misc
./gdm
./ssh
];
}

View file

@ -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
'';
};
}

View file

@ -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
#];
}