renamed some files and directories that had identical filenames. Altered some nixvim plugin options. Set up gpg signing for git commits.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
imports = [
|
||||
./gtk.nix
|
||||
./spicetify.nix
|
||||
./stylix.nix
|
||||
./stylixhome.nix
|
||||
./starship.nix
|
||||
./userpkgs.nix
|
||||
./zshell.nix
|
||||
|
||||
@@ -19,6 +19,10 @@ in {
|
||||
targets = {
|
||||
waybar.enable = false;
|
||||
btop.enable = false;
|
||||
nixvim.transparentBackground = {
|
||||
main = false;
|
||||
signColumn = false;
|
||||
};
|
||||
};
|
||||
cursor = {
|
||||
package = pkgs.bibata-cursors;
|
||||
@@ -24,6 +24,8 @@ in {
|
||||
config = lib.mkIf config.movOpts.envConfig.userPkgs.enable {
|
||||
home.packages = with pkgs; [
|
||||
nemo
|
||||
yubikey-manager
|
||||
yubikey-personalization
|
||||
gtk3
|
||||
sqlite
|
||||
gimp
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, config, username, ... }: {
|
||||
{ lib, config, username, pkgs, ... }: {
|
||||
options = {
|
||||
movOpts.programConfigs.gitConfig.enable =
|
||||
lib.mkEnableOption "enables my git configuration";
|
||||
@@ -6,7 +6,12 @@
|
||||
config = lib.mkIf config.movOpts.programConfigs.gitConfig.enable {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userEmail = "${username}@gmail.com";
|
||||
signing = {
|
||||
gpgPath = "${pkgs.gnupg}/bin/gpg";
|
||||
key = "76118C11E525D3D0CBCA0F6EB2A3D477E86843DB";
|
||||
signByDefault = true;
|
||||
};
|
||||
userEmail = "kylerclay@proton.me";
|
||||
userName = "${username}";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,6 +1,21 @@
|
||||
{
|
||||
programs.nixvim = {
|
||||
keymaps = [
|
||||
{
|
||||
action = "<cmd>ChatGPTEditWithInstructions<CR>";
|
||||
key = "!egpt";
|
||||
mode = "n";
|
||||
}
|
||||
{
|
||||
action = "<cmd>ChatGPTCompleteCode<CR>";
|
||||
key = "!cgpt";
|
||||
mode = "n";
|
||||
}
|
||||
{
|
||||
action = "<cmd>ChatGPT<CR>";
|
||||
key = "!gpt";
|
||||
mode = "n";
|
||||
}
|
||||
{
|
||||
action = "<cmd>lua vim.lsp.buf.code_action()<CR>";
|
||||
key = "!ca";
|
||||
|
||||
8
modules/home/programs/nixvim/plugins/chatgpt.nix
Normal file
8
modules/home/programs/nixvim/plugins/chatgpt.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
programs.nixvim.plugins.chatgpt = {
|
||||
enable = true;
|
||||
settings = {
|
||||
api_key_cmd = "pass keys/openai/apikey";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -8,6 +8,7 @@
|
||||
# ./coq.nix
|
||||
./barbar.nix
|
||||
./cmp.nix
|
||||
./chatgpt.nix
|
||||
./lsp.nix
|
||||
./fidget.nix
|
||||
./lualine.nix
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
settings = {
|
||||
virtual_text = { enable = true; };
|
||||
autocmd.enabled = true;
|
||||
sign.enabled = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{ inputs, nixpkgs, config, self, username, host, lib, ... }: {
|
||||
imports = [ ./hardware ./software ./environment ];
|
||||
imports = [ ./hardware ./software ./sysenv ];
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
};
|
||||
pcscd.enable = true;
|
||||
udev.enable = true;
|
||||
dbus.enable = true;
|
||||
mullvad-vpn.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user