From 89028735fad4627bd1f058804fe7ef047f9b3e76 Mon Sep 17 00:00:00 2001 From: joy Date: Thu, 4 Jul 2024 12:51:49 +0200 Subject: [PATCH] back --- modules/default.nix | 1 - modules/nvchad/default.nix | 22 ---------------------- modules/ssh/default.nix | 18 ------------------ 3 files changed, 41 deletions(-) delete mode 100644 modules/nvchad/default.nix delete mode 100644 modules/ssh/default.nix diff --git a/modules/default.nix b/modules/default.nix index 790cd62..0a3f295 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -6,6 +6,5 @@ ./packages ./misc ./gdm - ./ssh ]; } diff --git a/modules/nvchad/default.nix b/modules/nvchad/default.nix deleted file mode 100644 index 4590b2c..0000000 --- a/modules/nvchad/default.nix +++ /dev/null @@ -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 - ''; - }; -} - diff --git a/modules/ssh/default.nix b/modules/ssh/default.nix deleted file mode 100644 index 98d95b5..0000000 --- a/modules/ssh/default.nix +++ /dev/null @@ -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 -#]; - -}