feat: adds lsp nix stuff and gpg stuff for config
All checks were successful
gitea-deepak/nixconf/pipeline/head This commit looks good
All checks were successful
gitea-deepak/nixconf/pipeline/head This commit looks good
This commit is contained in:
@@ -12,6 +12,9 @@
|
||||
pkgs.eza
|
||||
pkgs.fd
|
||||
pkgs.ripgrep
|
||||
|
||||
# lsps
|
||||
pkgs.nil
|
||||
] ++ pkgs.lib.optionals specialArgs.withGUI [
|
||||
pkgs.discord
|
||||
pkgs.obsidian
|
||||
@@ -37,7 +40,7 @@
|
||||
userName = "Deepak Mallubhotla";
|
||||
userEmail = "dmallubhotla+github@gmail.com";
|
||||
signing = {
|
||||
key = "976F3357369149AB";
|
||||
key = specialArgs.gitSigningKey;
|
||||
signByDefault = true;
|
||||
};
|
||||
extraConfig = {
|
||||
@@ -57,10 +60,14 @@
|
||||
# plenary and stuff for telescope
|
||||
plenary-nvim telescope-nvim telescope-file-browser-nvim
|
||||
ctrlp-vim
|
||||
# lsp stuff
|
||||
nvim-lspconfig
|
||||
];
|
||||
extraConfig = ''
|
||||
inoremap jj <Esc>
|
||||
inoremap kk <Esc>
|
||||
lua << EOF
|
||||
require'lspconfig'.nil_ls.setup{}
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit mysd;
|
||||
withGUI = true;
|
||||
gitSigningKey = "976F3357369149AB";
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.deepak = {
|
||||
@@ -28,6 +29,7 @@
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit mysd;
|
||||
withGUI = false;
|
||||
gitSigningKey = "8F904A3FC7021497";
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.deepak = {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
custom-fonts = import ../../fonts { inherit pkgs; };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, pkgs, config, modulesPath, ... }:
|
||||
{ pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
@@ -49,8 +49,17 @@
|
||||
wget
|
||||
vim
|
||||
git
|
||||
pinentry
|
||||
pinentry-curses
|
||||
gnupg
|
||||
];
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
pinentryFlavor = "curses";
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
environment.variables = {
|
||||
DPK_NIX_CONF_DIR = "/mnt/d/Projects/nixconf";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user